diff options
Diffstat (limited to 'src/psycstore/gnunet-service-psycstore.c')
-rw-r--r-- | src/psycstore/gnunet-service-psycstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c index 01eb5d707..44103c6a0 100644 --- a/src/psycstore/gnunet-service-psycstore.c +++ b/src/psycstore/gnunet-service-psycstore.c | |||
@@ -479,7 +479,7 @@ handle_counters_get (void *cls, | |||
479 | 479 | ||
480 | res.header.type = htons (GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_COUNTERS); | 480 | res.header.type = htons (GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_COUNTERS); |
481 | res.header.size = htons (sizeof (res)); | 481 | res.header.size = htons (sizeof (res)); |
482 | res.result_code = htonl (ret - INT32_MIN); | 482 | res.result_code = htonl (ret); |
483 | res.op_id = req->op_id; | 483 | res.op_id = req->op_id; |
484 | res.max_fragment_id = GNUNET_htonll (res.max_fragment_id); | 484 | res.max_fragment_id = GNUNET_htonll (res.max_fragment_id); |
485 | res.max_message_id = GNUNET_htonll (res.max_message_id); | 485 | res.max_message_id = GNUNET_htonll (res.max_message_id); |