diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-09 10:23:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-09 10:23:40 +0000 |
commit | 759c8de73603135f58ee93395644e9829d3f72c3 (patch) | |
tree | ca0e22846a713d770495e0ee9034625fff9f809e /src/fs/fs_file_information.c | |
parent | 0cada45a69334845c7efbd3c17c1b5b98f9ce2a1 (diff) | |
download | gnunet-759c8de73603135f58ee93395644e9829d3f72c3.tar.gz gnunet-759c8de73603135f58ee93395644e9829d3f72c3.zip |
naming
Diffstat (limited to 'src/fs/fs_file_information.c')
-rw-r--r-- | src/fs/fs_file_information.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index 1973e2bc1..e0403b2ed 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -612,8 +612,9 @@ GNUNET_FS_file_information_create_from_directory (struct GNUNET_FS_Handle *h, | |||
612 | dc.entries = dc.entries->next; | 612 | dc.entries = dc.entries->next; |
613 | } | 613 | } |
614 | fn = filename; | 614 | fn = filename; |
615 | while (NULL != (ss = strstr (fn, | 615 | while ( (NULL != (ss = strstr (fn, |
616 | DIR_SEPARATOR_STR))) | 616 | DIR_SEPARATOR_STR))) && |
617 | (strlen (ss) > 1) ) | ||
617 | fn = ss + 1; | 618 | fn = ss + 1; |
618 | GNUNET_CONTAINER_meta_data_insert (ret->meta, | 619 | GNUNET_CONTAINER_meta_data_insert (ret->meta, |
619 | "<gnunet>", | 620 | "<gnunet>", |