projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d175a8b
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Apr 2010 11:51:27 +0000
(11:51 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Apr 2010 11:51:27 +0000
(11:51 +0000)
src/fs/fs_directory.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_directory.c
b/src/fs/fs_directory.c
index 82d0e8690f1788b8982a0f8d9235f25a9c5052fc..6f99395099c4133e69b96c01ad3df985fc355bc8 100644
(file)
--- a/
src/fs/fs_directory.c
+++ b/
src/fs/fs_directory.c
@@
-56,6
+56,8
@@
GNUNET_FS_meta_data_test_for_directory (const struct GNUNET_CONTAINER_MetaData *
char *mime;
int ret;
+ if (NULL == md)
+ return GNUNET_SYSERR;
mime = GNUNET_CONTAINER_meta_data_get_by_type (md, EXTRACTOR_METATYPE_MIMETYPE);
if (mime == NULL)
return GNUNET_SYSERR;