diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-07-17 13:26:36 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-07-17 13:26:36 +0000 |
commit | a7b63b4f0ba0ed24a1c2973644ae78bc3ce72719 (patch) | |
tree | 1df70ba169ad5ec48544239cc7b7822092427b9f /src/arm | |
parent | 3685629253bb94994449f56871252af24a91b6e7 (diff) | |
download | gnunet-a7b63b4f0ba0ed24a1c2973644ae78bc3ce72719.tar.gz gnunet-a7b63b4f0ba0ed24a1c2973644ae78bc3ce72719.zip |
-doxygen
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/arm_monitor_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arm/arm_monitor_api.c b/src/arm/arm_monitor_api.c index 1f23c1dc5..442320fe8 100644 --- a/src/arm/arm_monitor_api.c +++ b/src/arm/arm_monitor_api.c | |||
@@ -131,10 +131,10 @@ reconnect_arm_monitor_later (struct GNUNET_ARM_MonitorHandle *h) | |||
131 | */ | 131 | */ |
132 | static int | 132 | static int |
133 | check_monitor_notify (void *cls, | 133 | check_monitor_notify (void *cls, |
134 | const struct GNUNET_ARM_StatusMessage *res) | 134 | const struct GNUNET_ARM_StatusMessage *msg) |
135 | { | 135 | { |
136 | size_t sl = ntohs (res->header.size) - sizeof (struct GNUNET_ARM_StatusMessage); | 136 | size_t sl = ntohs (msg->header.size) - sizeof (struct GNUNET_ARM_StatusMessage); |
137 | const char *name = (const char *) &res[1]; | 137 | const char *name = (const char *) &msg[1]; |
138 | 138 | ||
139 | if ( (0 == sl) || | 139 | if ( (0 == sl) || |
140 | ('\0' != name[sl-1]) ) | 140 | ('\0' != name[sl-1]) ) |
@@ -150,7 +150,7 @@ check_monitor_notify (void *cls, | |||
150 | * Handler for notification messages received from ARM. | 150 | * Handler for notification messages received from ARM. |
151 | * | 151 | * |
152 | * @param cls our `struct GNUNET_ARM_MonitorHandle` | 152 | * @param cls our `struct GNUNET_ARM_MonitorHandle` |
153 | * @param msg the message received from the arm service | 153 | * @param res the message received from the arm service |
154 | */ | 154 | */ |
155 | static void | 155 | static void |
156 | handle_monitor_notify (void *cls, | 156 | handle_monitor_notify (void *cls, |