aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-19 06:50:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-19 06:50:20 +0000
commit1b618d49bc78a99a0d979d281506a0f2886cc110 (patch)
tree077d2a80b63c92a91f15c3e083785d0bb8828f2f /src/ats
parent852c9862c800afe1d6aa21b98fde189dbd05d8ef (diff)
downloadgnunet-1b618d49bc78a99a0d979d281506a0f2886cc110.tar.gz
gnunet-1b618d49bc78a99a0d979d281506a0f2886cc110.zip
fix
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/gnunet-service-ats_performance.c2
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++)