-fixed ntoh64 to GNUNET_ntohll
authorSree Harsha Totakura <totakura@in.tum.de>
Sun, 12 Feb 2012 12:33:13 +0000 (12:33 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Sun, 12 Feb 2012 12:33:13 +0000 (12:33 +0000)
src/stream/stream_api.c

index c25cb6c9bb633faf32380164f0b2a2bbfae3d141..0f88af92b4e86f2bde3f954b2d6aa5f95954b5d6 100644 (file)
@@ -1163,7 +1163,7 @@ handle_ack (struct GNUNET_STREAM_Socket *socket,
           return GNUNET_OK;
         }
 
-      socket->write_handle->ack_bitmap = ntoh64 (ack->bitmap);
+      socket->write_handle->ack_bitmap = GNUNET_ntohll (ack->bitmap);
       socket->write_handle->receive_window_available = 
         ntohl (ack->receive_window_remaining);
       write_data (socket);