aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-03-16 14:12:30 +0000
committerChristian Grothoff <christian@grothoff.org>2010-03-16 14:12:30 +0000
commit37a31f9ae83a523e2fb6b9d11785dd7fd3ef1ec4 (patch)
treec4586616426c672dd2d62f2ade72db0cdc95922f /src/transport/plugin_transport_tcp.c
parent1f5249e010b9d850e8aa6b6b745e55902051ac2e (diff)
downloadgnunet-37a31f9ae83a523e2fb6b9d11785dd7fd3ef1ec4.tar.gz
gnunet-37a31f9ae83a523e2fb6b9d11785dd7fd3ef1ec4.zip
stats
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index e1bb0c7e9..2e1d02257 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -374,7 +374,7 @@ do_transmit (void *cls, size_t size, void *buf)
374 pm->message_size, 374 pm->message_size,
375 GNUNET_i2s (&session->target)); 375 GNUNET_i2s (&session->target));
376#endif 376#endif
377 GNUNET_STATISTICS_update (plugin->env->stats, 377 GNUNET_STATISTICS_update (session->plugin->env->stats,
378 gettext_noop ("# bytes currently in TCP buffers"), 378 gettext_noop ("# bytes currently in TCP buffers"),
379 -pm->message_size, 379 -pm->message_size,
380 GNUNET_NO); 380 GNUNET_NO);
@@ -402,7 +402,7 @@ do_transmit (void *cls, size_t size, void *buf)
402 GNUNET_CONTAINER_DLL_remove (session->pending_messages_head, 402 GNUNET_CONTAINER_DLL_remove (session->pending_messages_head,
403 session->pending_messages_tail, 403 session->pending_messages_tail,
404 pm); 404 pm);
405 GNUNET_STATISTICS_update (plugin->env->stats, 405 GNUNET_STATISTICS_update (session->plugin->env->stats,
406 gettext_noop ("# bytes currently in TCP buffers"), 406 gettext_noop ("# bytes currently in TCP buffers"),
407 -pm->message_size, 407 -pm->message_size,
408 GNUNET_NO); 408 GNUNET_NO);
@@ -502,11 +502,11 @@ disconnect_session (struct Session *session)
502 "Could not deliver message to `%4s', notifying.\n", 502 "Could not deliver message to `%4s', notifying.\n",
503 GNUNET_i2s (&session->target)); 503 GNUNET_i2s (&session->target));
504#endif 504#endif
505 GNUNET_STATISTICS_update (plugin->env->stats, 505 GNUNET_STATISTICS_update (session->plugin->env->stats,
506 gettext_noop ("# bytes currently in TCP buffers"), 506 gettext_noop ("# bytes currently in TCP buffers"),
507 -pm->message_size, 507 -pm->message_size,
508 GNUNET_NO); 508 GNUNET_NO);
509 GNUNET_STATISTICS_update (plugin->env->stats, 509 GNUNET_STATISTICS_update (session->plugin->env->stats,
510 gettext_noop ("# bytes discarded by TCP (disconnect)"), 510 gettext_noop ("# bytes discarded by TCP (disconnect)"),
511 pm->message_size, 511 pm->message_size,
512 GNUNET_NO); 512 GNUNET_NO);