aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cadet_server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-09-05 09:36:35 +0000
committerChristian Grothoff <christian@grothoff.org>2014-09-05 09:36:35 +0000
commitebb5527954a8e214324d76f0c1c181cab3c51170 (patch)
tree588bc3fdaa01b42f9a7153c66bc494dde003fc81 /src/fs/gnunet-service-fs_cadet_server.c
parent606d3afbfedf2199ac63cbf82dd8d8ffd523c1df (diff)
downloadgnunet-ebb5527954a8e214324d76f0c1c181cab3c51170.tar.gz
gnunet-ebb5527954a8e214324d76f0c1c181cab3c51170.zip
-indentation
Diffstat (limited to 'src/fs/gnunet-service-fs_cadet_server.c')
-rw-r--r--src/fs/gnunet-service-fs_cadet_server.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/fs/gnunet-service-fs_cadet_server.c b/src/fs/gnunet-service-fs_cadet_server.c
index 5e4715781..6ce18afb5 100644
--- a/src/fs/gnunet-service-fs_cadet_server.c
+++ b/src/fs/gnunet-service-fs_cadet_server.c
@@ -324,7 +324,8 @@ continue_writing (struct CadetClient *sc)
324static void 324static void
325handle_datastore_reply (void *cls, 325handle_datastore_reply (void *cls,
326 const struct GNUNET_HashCode *key, 326 const struct GNUNET_HashCode *key,
327 size_t size, const void *data, 327 size_t size,
328 const void *data,
328 enum GNUNET_BLOCK_Type type, 329 enum GNUNET_BLOCK_Type type,
329 uint32_t priority, 330 uint32_t priority,
330 uint32_t anonymity, 331 uint32_t anonymity,
@@ -345,19 +346,19 @@ handle_datastore_reply (void *cls,
345 hard error as we might have had the answer in the 346 hard error as we might have had the answer in the
346 past and the user might have unindexed it. Hence 347 past and the user might have unindexed it. Hence
347 we log at level "INFO" for now. */ 348 we log at level "INFO" for now. */
348 if(NULL == key) 349 if (NULL == key)
349 { 350 {
350 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 351 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
351 "Have no answer and the query was NULL\n"); 352 "Have no answer and the query was NULL\n");
352 } 353 }
353 else 354 else
354 { 355 {
355 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 356 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
356 "Have no answer for query `%s'\n", 357 "Have no answer for query `%s'\n",
357 GNUNET_h2s (key)); 358 GNUNET_h2s (key));
358 } 359 }
359 GNUNET_STATISTICS_update (GSF_stats, 360 GNUNET_STATISTICS_update (GSF_stats,
360 gettext_noop ("# queries received via cadet not answered"), 1, 361 gettext_noop ("# queries received via CADET not answered"), 1,
361 GNUNET_NO); 362 GNUNET_NO);
362 continue_writing (sc); 363 continue_writing (sc);
363 return; 364 return;
@@ -414,9 +415,9 @@ handle_datastore_reply (void *cls,
414 * Functions with this signature are called whenever a 415 * Functions with this signature are called whenever a
415 * complete query message is received. 416 * complete query message is received.
416 * 417 *
417 * Do not call #GNUNET_SERVER_mst_destroy in callback 418 * Do not call #GNUNET_SERVER_mst_destroy() in callback
418 * 419 *
419 * @param cls closure with the 'struct CadetClient' 420 * @param cls closure with the `struct CadetClient`
420 * @param channel channel handle 421 * @param channel channel handle
421 * @param channel_ctx channel context 422 * @param channel_ctx channel context
422 * @param message the actual message 423 * @param message the actual message