diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-05 08:37:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-05 08:37:13 +0000 |
commit | b393537f38727987db955152cc34d69f4fb4173b (patch) | |
tree | 3554fe35120fbf080685ed03450425f319b98b12 /src/fs/fs_directory.c | |
parent | 8fd8fedc315fabc3560dc2e1028378d89295147a (diff) | |
download | gnunet-b393537f38727987db955152cc34d69f4fb4173b.tar.gz gnunet-b393537f38727987db955152cc34d69f4fb4173b.zip |
-eliminate printing warning on MAGIC missmatch (#2138)
Diffstat (limited to 'src/fs/fs_directory.c')
-rw-r--r-- | src/fs/fs_directory.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fs/fs_directory.c b/src/fs/fs_directory.c index d5f73623a..b26ec12d3 100644 --- a/src/fs/fs_directory.c +++ b/src/fs/fs_directory.c | |||
@@ -197,11 +197,7 @@ GNUNET_FS_directory_list_contents (size_t size, const void *data, | |||
197 | if ((offset == 0) && | 197 | if ((offset == 0) && |
198 | ((size < 8 + sizeof (uint32_t)) || | 198 | ((size < 8 + sizeof (uint32_t)) || |
199 | (0 != memcmp (cdata, GNUNET_FS_DIRECTORY_MAGIC, 8)))) | 199 | (0 != memcmp (cdata, GNUNET_FS_DIRECTORY_MAGIC, 8)))) |
200 | { | ||
201 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
202 | _("MAGIC mismatch. This is not a GNUnet directory.\n")); | ||
203 | return GNUNET_SYSERR; | 200 | return GNUNET_SYSERR; |
204 | } | ||
205 | pos = offset; | 201 | pos = offset; |
206 | if (offset == 0) | 202 | if (offset == 0) |
207 | { | 203 | { |