- stats
authorMatthias Wachs <wachs@net.in.tum.de>
Sat, 12 May 2012 13:01:15 +0000 (13:01 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Sat, 12 May 2012 13:01:15 +0000 (13:01 +0000)
src/transport/gnunet-service-transport.c

index c917a461b65cf0e8313663051160208b38f03689..5148a14979a43651554681ade0b1da0e71fe2662 100644 (file)
@@ -282,7 +282,7 @@ plugin_env_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer,
     GNUNET_STATISTICS_update (GST_stats,
                               gettext_noop
                               ("# bytes payload received"),
-                              -ntohs (message->size), GNUNET_NO);
+                              ntohs (message->size), GNUNET_NO);
     ret = process_payload (peer, &address, session, message, ats, ats_count);
     break;
   }