aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-25 11:33:02 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-25 11:33:02 +0200
commita10d3ab76b30270b69e5296b19e6fcc550812304 (patch)
treef60c6936bf607f10e719218d8af0de05485f7ab0 /src
parentca824f4429dd39f9108f6147678d6b8673e99fa6 (diff)
downloadgnunet-a10d3ab76b30270b69e5296b19e6fcc550812304.tar.gz
gnunet-a10d3ab76b30270b69e5296b19e6fcc550812304.zip
warnings
Diffstat (limited to 'src')
-rw-r--r--src/transport/gnunet-communicator-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-unix.c b/src/transport/gnunet-communicator-unix.c
index 1772e3647..1d5029f20 100644
--- a/src/transport/gnunet-communicator-unix.c
+++ b/src/transport/gnunet-communicator-unix.c
@@ -684,6 +684,7 @@ select_read_cb (void *cls);
684static void 684static void
685receive_complete_cb (void *cls, int success) 685receive_complete_cb (void *cls, int success)
686{ 686{
687 (void) cls;
687 delivering_messages--; 688 delivering_messages--;
688 if (GNUNET_OK != success) 689 if (GNUNET_OK != success)
689 GNUNET_STATISTICS_update (stats, 690 GNUNET_STATISTICS_update (stats,
@@ -832,6 +833,7 @@ mq_init (void *cls, const struct GNUNET_PeerIdentity *peer, const char *address)
832 struct sockaddr_un *un; 833 struct sockaddr_un *un;
833 socklen_t un_len; 834 socklen_t un_len;
834 835
836 (void) cls;
835 if (0 != strncmp (address, 837 if (0 != strncmp (address,
836 COMMUNICATOR_ADDRESS_PREFIX "-", 838 COMMUNICATOR_ADDRESS_PREFIX "-",
837 strlen (COMMUNICATOR_ADDRESS_PREFIX "-"))) 839 strlen (COMMUNICATOR_ADDRESS_PREFIX "-")))