lon
authorChristian Grothoff <christian@grothoff.org>
Mon, 10 Oct 2011 11:51:16 +0000 (11:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 10 Oct 2011 11:51:16 +0000 (11:51 +0000)
src/core/gnunet-service-core_clients.c

index 00d22c13fa48429b147cefa9ad459e6d2fbbbb79..f30a3ba4babaea5a6561c92cb59b317e68747187 100644 (file)
@@ -397,7 +397,7 @@ handle_client_send (void *cls, struct GNUNET_SERVER_Client *client,
                 GNUNET_CONTAINER_multihashmap_remove (c->requests, 
                                                       &sm->peer.hashPubKey,
                                                       car));
-  car->cork = ntohs (sm->cork);
+  car->cork = ntohl (sm->cork);
   GNUNET_SERVER_mst_receive (client_mst,
                             car, 
                             (const char*) &sm[1], msize,