diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-02 11:48:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-02 11:48:33 +0000 |
commit | d175a8b7f6720f5f51524fb26041cb08cea4753b (patch) | |
tree | 93873ea93928f337386e9f81ca16cc9c4be1a605 /src/fs/gnunet-publish.c | |
parent | 70bcf6c81ca6dd790e867483c111f45e207e2670 (diff) | |
download | gnunet-d175a8b7f6720f5f51524fb26041cb08cea4753b.tar.gz gnunet-d175a8b7f6720f5f51524fb26041cb08cea4753b.zip |
fix
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index 70964590d..b8017886e 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -275,6 +275,8 @@ publish_inspector (void *cls, | |||
275 | char *fs; | 275 | char *fs; |
276 | struct GNUNET_FS_Uri *new_uri; | 276 | struct GNUNET_FS_Uri *new_uri; |
277 | 277 | ||
278 | if (cls == fi) | ||
279 | return GNUNET_OK; | ||
278 | if (NULL != topKeywords) | 280 | if (NULL != topKeywords) |
279 | { | 281 | { |
280 | if (*uri != NULL) | 282 | if (*uri != NULL) |
@@ -320,7 +322,7 @@ publish_inspector (void *cls, | |||
320 | if (GNUNET_YES == GNUNET_FS_meta_data_test_for_directory (m)) | 322 | if (GNUNET_YES == GNUNET_FS_meta_data_test_for_directory (m)) |
321 | GNUNET_FS_file_information_inspect (fi, | 323 | GNUNET_FS_file_information_inspect (fi, |
322 | &publish_inspector, | 324 | &publish_inspector, |
323 | NULL); | 325 | fi); |
324 | return GNUNET_OK; | 326 | return GNUNET_OK; |
325 | } | 327 | } |
326 | 328 | ||