unified debug output (allows grep OP ID)
authorlurchi <lurchi@strangeplace.net>
Sun, 24 Dec 2017 12:31:08 +0000 (13:31 +0100)
committerlurchi <lurchi@strangeplace.net>
Sun, 24 Dec 2017 12:31:08 +0000 (13:31 +0100)
src/psycstore/psycstore_api.c

index d79daa35774906a65f2fd6b3a4a1ca27b3586180..16f4a1ae98f362480fec0ab6e362a539d3ba9a2f 100644 (file)
@@ -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;