From: lurchi Date: Sun, 24 Dec 2017 12:31:08 +0000 (+0100) Subject: unified debug output (allows grep OP ID) X-Git-Tag: gnunet-0.11.0rc0~48^2~1^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58c53e5c8283dd48fd1491c995b2b277526a59ab;p=oweals%2Fgnunet.git unified debug output (allows grep OP ID) --- diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index d79daa357..16f4a1ae9 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c @@ -148,14 +148,14 @@ handle_result_code (void *cls, const struct OperationResult *opres) str, size - sizeof (*opres), (void **) &op)) { LOG (GNUNET_ERROR_TYPE_DEBUG, - "handle_result_code: Received result message with operation ID: %" PRIu64 "\n", + "handle_result_code: Received result message with OP ID: %" PRIu64 "\n", GNUNET_ntohll (opres->op_id)); GNUNET_free (op); } else { LOG (GNUNET_ERROR_TYPE_DEBUG, - "handle_result_code: No callback registered for operation with ID %" PRIu64 ".\n", + "handle_result_code: No callback registered for OP ID %" PRIu64 ".\n", GNUNET_ntohll (opres->op_id)); } h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; @@ -187,7 +187,7 @@ handle_result_counters (void *cls, const struct CountersResult *cres) else { LOG (GNUNET_ERROR_TYPE_DEBUG, - "handle_result_counters: No callback registered for operation with ID %" PRIu64 ".\n", + "handle_result_counters: No callback registered for OP ID %" PRIu64 ".\n", GNUNET_ntohll (cres->op_id)); } h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; @@ -233,7 +233,7 @@ handle_result_fragment (void *cls, const struct FragmentResult *fres) else { LOG (GNUNET_ERROR_TYPE_DEBUG, - "handle_result_fragment: No callback registered for operation with ID %" PRIu64 ".\n", + "handle_result_fragment: No callback registered for OP ID %" PRIu64 ".\n", GNUNET_ntohll (fres->op_id)); } h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; @@ -282,7 +282,7 @@ handle_result_state (void *cls, const struct StateResult *sres) else { LOG (GNUNET_ERROR_TYPE_DEBUG, - "handle_result_state: No callback registered for operation with ID %" PRIu64 ".\n", + "handle_result_state: No callback registered for OP ID %" PRIu64 ".\n", GNUNET_ntohll (sres->op_id)); } h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS;