diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-04-14 20:45:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-04-14 20:45:25 +0000 |
commit | 08676aaa5b76a0723c8c60ee510aec3652e50774 (patch) | |
tree | 0c1ccb9bd806733aba38f76c79499cb0f3cec048 /src/arm/arm_monitor_api.c | |
parent | ce52e258a28a17f5c319549fda1b5fbb8f6169a7 (diff) | |
download | gnunet-08676aaa5b76a0723c8c60ee510aec3652e50774.tar.gz gnunet-08676aaa5b76a0723c8c60ee510aec3652e50774.zip |
-remove unnecessary arguments from ARM callbacks
Diffstat (limited to 'src/arm/arm_monitor_api.c')
-rw-r--r-- | src/arm/arm_monitor_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c index 7fa53e732..0b8a0699c 100644 --- a/src/arm/arm_monitor_api.c +++ b/src/arm/arm_monitor_api.c | |||
@@ -221,7 +221,7 @@ reconnect_arm_monitor (struct GNUNET_ARM_MonitorHandle *h) | |||
221 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 221 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
222 | "arm_api, GNUNET_CLIENT_connect returned NULL\n"); | 222 | "arm_api, GNUNET_CLIENT_connect returned NULL\n"); |
223 | if (NULL != h->service_status) | 223 | if (NULL != h->service_status) |
224 | h->service_status (h->cls, h, NULL, GNUNET_ARM_SERVICE_STOPPED); | 224 | h->service_status (h->cls, NULL, GNUNET_ARM_SERVICE_STOPPED); |
225 | return GNUNET_SYSERR; | 225 | return GNUNET_SYSERR; |
226 | } | 226 | } |
227 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 227 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
@@ -347,7 +347,7 @@ monitor_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
347 | GNUNET_CLIENT_receive (h->monitor, &monitor_notify_handler, h, | 347 | GNUNET_CLIENT_receive (h->monitor, &monitor_notify_handler, h, |
348 | GNUNET_TIME_UNIT_FOREVER_REL); | 348 | GNUNET_TIME_UNIT_FOREVER_REL); |
349 | if (NULL != h->service_status) | 349 | if (NULL != h->service_status) |
350 | h->service_status (h->cls, h, (const char *) &res[1], status); | 350 | h->service_status (h->cls, (const char *) &res[1], status); |
351 | break; | 351 | break; |
352 | default: | 352 | default: |
353 | reconnect_arm_monitor_later (h); | 353 | reconnect_arm_monitor_later (h); |