aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-13 19:51:37 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-13 19:51:37 +0000
commit98b6e10103105f2c9e28cbf61d343fbfd7b1eae3 (patch)
tree4f70c15393b7bb23ff9544a7692ef4dff7f81162 /src/transport/plugin_transport_http_client.c
parent11db9d8466a4581b231cac6a4bebb01719db5f28 (diff)
downloadgnunet-98b6e10103105f2c9e28cbf61d343fbfd7b1eae3.tar.gz
gnunet-98b6e10103105f2c9e28cbf61d343fbfd7b1eae3.zip
-doxygen, indentation
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r--src/transport/plugin_transport_http_client.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index c093a0312..78f973574 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -678,10 +678,9 @@ http_client_session_disconnect (void *cls,
678 GNUNET_assert (plugin->cur_connections >= 2); 678 GNUNET_assert (plugin->cur_connections >= 2);
679 plugin->cur_connections -= 2; 679 plugin->cur_connections -= 2;
680 GNUNET_STATISTICS_set (plugin->env->stats, 680 GNUNET_STATISTICS_set (plugin->env->stats,
681 HTTP_STAT_STR_CONNECTIONS, 681 HTTP_STAT_STR_CONNECTIONS,
682 plugin->cur_connections, 682 plugin->cur_connections,
683 GNUNET_NO); 683 GNUNET_NO);
684
685 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, 684 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
686 "Session %p: notifying transport about ending session\n",s); 685 "Session %p: notifying transport about ending session\n",s);
687 686
@@ -921,7 +920,9 @@ client_receive_mst_cb (void *cls, void *client,
921 s, 920 s,
922 &atsi, 1); 921 &atsi, 1);
923 922
924 GNUNET_asprintf (&stat_txt, "# bytes received via %s_client", plugin->protocol); 923 GNUNET_asprintf (&stat_txt,
924 "# bytes received via %s_client",
925 plugin->protocol);
925 GNUNET_STATISTICS_update (plugin->env->stats, 926 GNUNET_STATISTICS_update (plugin->env->stats,
926 stat_txt, ntohs(message->size), GNUNET_NO); 927 stat_txt, ntohs(message->size), GNUNET_NO);
927 GNUNET_free (stat_txt); 928 GNUNET_free (stat_txt);