aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2017-12-24 13:31:08 +0100
committerlurchi <lurchi@strangeplace.net>2017-12-24 13:31:08 +0100
commit58c53e5c8283dd48fd1491c995b2b277526a59ab (patch)
treef198000e9fe5b25545424be4bbcb8613b34d1416 /src
parent1bffe9cbd315b4a09650b4ada9cfb5594f806ebc (diff)
downloadgnunet-58c53e5c8283dd48fd1491c995b2b277526a59ab.tar.gz
gnunet-58c53e5c8283dd48fd1491c995b2b277526a59ab.zip
unified debug output (allows grep OP ID)
Diffstat (limited to 'src')
-rw-r--r--src/psycstore/psycstore_api.c10
1 files changed, 5 insertions, 5 deletions
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)
148 str, size - sizeof (*opres), (void **) &op)) 148 str, size - sizeof (*opres), (void **) &op))
149 { 149 {
150 LOG (GNUNET_ERROR_TYPE_DEBUG, 150 LOG (GNUNET_ERROR_TYPE_DEBUG,
151 "handle_result_code: Received result message with operation ID: %" PRIu64 "\n", 151 "handle_result_code: Received result message with OP ID: %" PRIu64 "\n",
152 GNUNET_ntohll (opres->op_id)); 152 GNUNET_ntohll (opres->op_id));
153 GNUNET_free (op); 153 GNUNET_free (op);
154 } 154 }
155 else 155 else
156 { 156 {
157 LOG (GNUNET_ERROR_TYPE_DEBUG, 157 LOG (GNUNET_ERROR_TYPE_DEBUG,
158 "handle_result_code: No callback registered for operation with ID %" PRIu64 ".\n", 158 "handle_result_code: No callback registered for OP ID %" PRIu64 ".\n",
159 GNUNET_ntohll (opres->op_id)); 159 GNUNET_ntohll (opres->op_id));
160 } 160 }
161 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; 161 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS;
@@ -187,7 +187,7 @@ handle_result_counters (void *cls, const struct CountersResult *cres)
187 else 187 else
188 { 188 {
189 LOG (GNUNET_ERROR_TYPE_DEBUG, 189 LOG (GNUNET_ERROR_TYPE_DEBUG,
190 "handle_result_counters: No callback registered for operation with ID %" PRIu64 ".\n", 190 "handle_result_counters: No callback registered for OP ID %" PRIu64 ".\n",
191 GNUNET_ntohll (cres->op_id)); 191 GNUNET_ntohll (cres->op_id));
192 } 192 }
193 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; 193 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS;
@@ -233,7 +233,7 @@ handle_result_fragment (void *cls, const struct FragmentResult *fres)
233 else 233 else
234 { 234 {
235 LOG (GNUNET_ERROR_TYPE_DEBUG, 235 LOG (GNUNET_ERROR_TYPE_DEBUG,
236 "handle_result_fragment: No callback registered for operation with ID %" PRIu64 ".\n", 236 "handle_result_fragment: No callback registered for OP ID %" PRIu64 ".\n",
237 GNUNET_ntohll (fres->op_id)); 237 GNUNET_ntohll (fres->op_id));
238 } 238 }
239 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; 239 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS;
@@ -282,7 +282,7 @@ handle_result_state (void *cls, const struct StateResult *sres)
282 else 282 else
283 { 283 {
284 LOG (GNUNET_ERROR_TYPE_DEBUG, 284 LOG (GNUNET_ERROR_TYPE_DEBUG,
285 "handle_result_state: No callback registered for operation with ID %" PRIu64 ".\n", 285 "handle_result_state: No callback registered for OP ID %" PRIu64 ".\n",
286 GNUNET_ntohll (sres->op_id)); 286 GNUNET_ntohll (sres->op_id));
287 } 287 }
288 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS; 288 h->reconnect_delay = GNUNET_TIME_UNIT_MILLISECONDS;