aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-05-30 15:32:44 +0000
committerChristian Grothoff <christian@grothoff.org>2011-05-30 15:32:44 +0000
commit8dc367b10a197123c7148505aa1757055c2e3502 (patch)
treeaa651846d14453479a185edde29ff359c5c3a492 /src/core/gnunet-service-core.c
parentf8d51654b222805ed28a148dbe4ce888eb3f27a2 (diff)
downloadgnunet-8dc367b10a197123c7148505aa1757055c2e3502.tar.gz
gnunet-8dc367b10a197123c7148505aa1757055c2e3502.zip
indenting
Diffstat (limited to 'src/core/gnunet-service-core.c')
-rw-r--r--src/core/gnunet-service-core.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 0b7886796..1331fce25 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -3025,13 +3025,19 @@ handle_client_request_connect (void *cls,
3025 (n->th != NULL) ) 3025 (n->th != NULL) )
3026 { 3026 {
3027 if (GNUNET_YES == n->is_connected) 3027 if (GNUNET_YES == n->is_connected)
3028 GNUNET_STATISTICS_update (stats, 3028 {
3029 gettext_noop ("# connection requests ignored (already connected)"), 3029 GNUNET_STATISTICS_update (stats,
3030 1, 3030 gettext_noop ("# connection requests ignored (already connected)"),
3031 GNUNET_NO); 3031 1,
3032 GNUNET_NO);
3033 }
3032 else 3034 else
3033 { 3035 {
3034 GNUNET_TRANSPORT_notify_transmit_ready_cancel(n->th); 3036 if (NULL != n->th)
3037 {
3038 GNUNET_TRANSPORT_notify_transmit_ready_cancel (n->th);
3039 n->th = NULL;
3040 }
3035 n->th = GNUNET_TRANSPORT_notify_transmit_ready (transport, 3041 n->th = GNUNET_TRANSPORT_notify_transmit_ready (transport,
3036 &cm->peer, 3042 &cm->peer,
3037 sizeof (struct GNUNET_MessageHeader), 0, 3043 sizeof (struct GNUNET_MessageHeader), 0,