diff options
Diffstat (limited to 'src/namecache')
-rw-r--r-- | src/namecache/plugin_namecache_flat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namecache/plugin_namecache_flat.c b/src/namecache/plugin_namecache_flat.c index 1d5ea2e12..c348de63b 100644 --- a/src/namecache/plugin_namecache_flat.c +++ b/src/namecache/plugin_namecache_flat.c | |||
@@ -154,7 +154,8 @@ database_setup (struct Plugin *plugin) | |||
154 | buffer[size] = '\0'; | 154 | buffer[size] = '\0'; |
155 | 155 | ||
156 | GNUNET_DISK_file_close (fh); | 156 | GNUNET_DISK_file_close (fh); |
157 | if (0 < size) { | 157 | if (0 < size) |
158 | { | ||
158 | line = strtok (buffer, "\n"); | 159 | line = strtok (buffer, "\n"); |
159 | while (line != NULL) { | 160 | while (line != NULL) { |
160 | query = strtok (line, ","); | 161 | query = strtok (line, ","); |