aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_unindex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-26 14:02:09 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-26 14:02:09 +0000
commita9763a49d78b240fed1ace9068a0ea11cdff00f7 (patch)
tree292f58cc3a0765c58952cd83c695e1faafc83fd9 /src/fs/fs_unindex.c
parent69685227863090eb24ee20d07e8c0f139264c061 (diff)
downloadgnunet-a9763a49d78b240fed1ace9068a0ea11cdff00f7.tar.gz
gnunet-a9763a49d78b240fed1ace9068a0ea11cdff00f7.zip
-eliminating #if DEBUG checks
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r--src/fs/fs_unindex.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c
index fa9147bcd..ff1996a2f 100644
--- a/src/fs/fs_unindex.c
+++ b/src/fs/fs_unindex.c
@@ -31,7 +31,6 @@
31#include "fs_api.h" 31#include "fs_api.h"
32#include "fs_tree.h" 32#include "fs_tree.h"
33 33
34#define DEBUG_UNINDEX GNUNET_EXTRA_LOGGING
35 34
36/** 35/**
37 * Function called by the tree encoder to obtain 36 * Function called by the tree encoder to obtain
@@ -158,10 +157,8 @@ process_cont (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration
158 signal_unindex_error (uc); 157 signal_unindex_error (uc);
159 return; 158 return;
160 } 159 }
161#if DEBUG_UNINDEX
162 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 160 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
163 "Datastore REMOVE operation succeeded\n"); 161 "Datastore REMOVE operation succeeded\n");
164#endif
165 GNUNET_FS_tree_encoder_next (uc->tc); 162 GNUNET_FS_tree_encoder_next (uc->tc);
166} 163}
167 164
@@ -202,10 +199,8 @@ unindex_process (void *cls, const struct ContentHashKey *chk, uint64_t offset,
202 odb.file_id = uc->file_id; 199 odb.file_id = uc->file_id;
203 data = &odb; 200 data = &odb;
204 } 201 }
205#if DEBUG_UNINDEX
206 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 202 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
207 "Sending REMOVE request to DATASTORE service\n"); 203 "Sending REMOVE request to DATASTORE service\n");
208#endif
209 GNUNET_DATASTORE_remove (uc->dsh, &chk->query, size, data, -2, 1, 204 GNUNET_DATASTORE_remove (uc->dsh, &chk->query, size, data, -2, 1,
210 GNUNET_CONSTANTS_SERVICE_TIMEOUT, &process_cont, uc); 205 GNUNET_CONSTANTS_SERVICE_TIMEOUT, &process_cont, uc);
211} 206}
@@ -299,10 +294,8 @@ unindex_finish (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
299 signal_unindex_error (uc); 294 signal_unindex_error (uc);
300 return; 295 return;
301 } 296 }
302#if DEBUG_UNINDEX
303 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 297 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
304 "Sending UNINDEX message to FS service\n"); 298 "Sending UNINDEX message to FS service\n");
305#endif
306 req.header.size = htons (sizeof (struct UnindexMessage)); 299 req.header.size = htons (sizeof (struct UnindexMessage));
307 req.header.type = htons (GNUNET_MESSAGE_TYPE_FS_UNINDEX); 300 req.header.type = htons (GNUNET_MESSAGE_TYPE_FS_UNINDEX);
308 req.reserved = 0; 301 req.reserved = 0;