aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_lc.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/gnunet-service-fs_lc.c
parent69685227863090eb24ee20d07e8c0f139264c061 (diff)
downloadgnunet-a9763a49d78b240fed1ace9068a0ea11cdff00f7.tar.gz
gnunet-a9763a49d78b240fed1ace9068a0ea11cdff00f7.zip
-eliminating #if DEBUG checks
Diffstat (limited to 'src/fs/gnunet-service-fs_lc.c')
-rw-r--r--src/fs/gnunet-service-fs_lc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_lc.c b/src/fs/gnunet-service-fs_lc.c
index dcedd495a..36aafdde9 100644
--- a/src/fs/gnunet-service-fs_lc.c
+++ b/src/fs/gnunet-service-fs_lc.c
@@ -270,11 +270,9 @@ client_response_handler (void *cls, enum GNUNET_BLOCK_EvaluationResult eval,
270 memcpy (&pm[1], data, data_len); 270 memcpy (&pm[1], data, data_len);
271 GSF_local_client_transmit_ (lc, &pm->header); 271 GSF_local_client_transmit_ (lc, &pm->header);
272 } 272 }
273#if DEBUG_FS_CLIENT
274 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 273 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
275 "Queued reply to query `%s' for local client\n", 274 "Queued reply to query `%s' for local client\n",
276 GNUNET_h2s (&prd->query), (unsigned int) prd->type); 275 GNUNET_h2s (&prd->query), (unsigned int) prd->type);
277#endif
278 if (eval != GNUNET_BLOCK_EVALUATION_OK_LAST) 276 if (eval != GNUNET_BLOCK_EVALUATION_OK_LAST)
279 return; 277 return;
280 if (GNUNET_SCHEDULER_NO_TASK != cr->kill_task) 278 if (GNUNET_SCHEDULER_NO_TASK != cr->kill_task)
@@ -325,11 +323,9 @@ GSF_local_client_start_search_handler_ (struct GNUNET_SERVER_Client *client,
325 sc = (msize - sizeof (struct SearchMessage)) / sizeof (GNUNET_HashCode); 323 sc = (msize - sizeof (struct SearchMessage)) / sizeof (GNUNET_HashCode);
326 sm = (const struct SearchMessage *) message; 324 sm = (const struct SearchMessage *) message;
327 type = ntohl (sm->type); 325 type = ntohl (sm->type);
328#if DEBUG_FS_CLIENT
329 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 326 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
330 "Received request for `%s' of type %u from local client\n", 327 "Received request for `%s' of type %u from local client\n",
331 GNUNET_h2s (&sm->query), (unsigned int) type); 328 GNUNET_h2s (&sm->query), (unsigned int) type);
332#endif
333 lc = GSF_local_client_lookup_ (client); 329 lc = GSF_local_client_lookup_ (client);
334 cr = NULL; 330 cr = NULL;
335 /* detect duplicate KBLOCK requests */ 331 /* detect duplicate KBLOCK requests */
@@ -352,10 +348,8 @@ GSF_local_client_start_search_handler_ (struct GNUNET_SERVER_Client *client,
352 } 348 }
353 if (cr != NULL) 349 if (cr != NULL)
354 { 350 {
355#if DEBUG_FS_CLIENT
356 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 351 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
357 "Have existing request, merging content-seen lists.\n"); 352 "Have existing request, merging content-seen lists.\n");
358#endif
359 GSF_pending_request_update_ (cr->pr, (const GNUNET_HashCode *) &sm[1], sc); 353 GSF_pending_request_update_ (cr->pr, (const GNUNET_HashCode *) &sm[1], sc);
360 GNUNET_STATISTICS_update (GSF_stats, 354 GNUNET_STATISTICS_update (GSF_stats,
361 gettext_noop 355 gettext_noop