From: Nathan S. Evans Date: Tue, 21 Dec 2010 13:08:36 +0000 (+0000) Subject: speeling and coverity fix X-Git-Tag: initial-import-from-subversion-38251~19493 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc0feb33d3e4d1f29be710b40216ff4a3b72a8b2;p=oweals%2Fgnunet.git speeling and coverity fix --- diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index e1f6793b2..293e9c637 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -1406,7 +1406,7 @@ transmit_send_ok (struct TransportClient *client, * * @param cls closure, identifies the entry on the * message queue that was transmitted and the - * client responsible for queueing the message + * client responsible for queuing the message * @param target the peer receiving the message * @param result GNUNET_OK on success, if the transmission * failed, we should not tell the client to transmit diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 1ffc8b260..483619b4a 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -1099,7 +1099,7 @@ disconnect_session (struct Session *session) GNUNET_SERVER_receive_done (session->client, GNUNET_SYSERR); } - if (session->client != NULL) + else if (session->client != NULL) GNUNET_SERVER_client_drop (session->client); GNUNET_STATISTICS_update (session->plugin->env->stats, gettext_noop ("# TCP sessions active"),