diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-19 06:50:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-19 06:50:20 +0000 |
commit | 1b618d49bc78a99a0d979d281506a0f2886cc110 (patch) | |
tree | 077d2a80b63c92a91f15c3e083785d0bb8828f2f /src/ats | |
parent | 852c9862c800afe1d6aa21b98fde189dbd05d8ef (diff) | |
download | gnunet-1b618d49bc78a99a0d979d281506a0f2886cc110.tar.gz gnunet-1b618d49bc78a99a0d979d281506a0f2886cc110.zip |
fix
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index fd156da84..e0e5e4c18 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -256,6 +256,7 @@ GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client, | |||
256 | { | 256 | { |
257 | GNUNET_break (0); | 257 | GNUNET_break (0); |
258 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); | 258 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); |
259 | return; | ||
259 | } | 260 | } |
260 | msg = (const struct ChangePreferenceMessage *) message; | 261 | msg = (const struct ChangePreferenceMessage *) message; |
261 | nump = ntohl (msg->num_preferences); | 262 | nump = ntohl (msg->num_preferences); |
@@ -263,6 +264,7 @@ GAS_handle_preference_change (void *cls, struct GNUNET_SERVER_Client *client, | |||
263 | { | 264 | { |
264 | GNUNET_break (0); | 265 | GNUNET_break (0); |
265 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); | 266 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); |
267 | return; | ||
266 | } | 268 | } |
267 | pi = (const struct PreferenceInformation *) &msg[1]; | 269 | pi = (const struct PreferenceInformation *) &msg[1]; |
268 | for (i=0;i<nump;i++) | 270 | for (i=0;i<nump;i++) |