aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_socks.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-01-19 13:43:20 +0000
committerChristian Grothoff <christian@grothoff.org>2016-01-19 13:43:20 +0000
commitbb5fe91d23b0938baa3c4f0e92a83df659df216a (patch)
tree407c5cea3c05703455e80ff2fe81130cba883216 /src/util/test_socks.c
parent71e181512d1cd61d3865f93f5b85b208b5720ba5 (diff)
downloadgnunet-bb5fe91d23b0938baa3c4f0e92a83df659df216a.tar.gz
gnunet-bb5fe91d23b0938baa3c4f0e92a83df659df216a.zip
-fix (C) notices
Diffstat (limited to 'src/util/test_socks.c')
-rw-r--r--src/util/test_socks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_socks.c b/src/util/test_socks.c
index 97f614cd4..bb7d0031a 100644
--- a/src/util/test_socks.c
+++ b/src/util/test_socks.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2009 Christian Grothoff Jeff Burdges, and other contributing authors 3 Copyright (C) 2015 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -99,7 +99,7 @@ recv_bounce (void *cls, const struct GNUNET_MessageHeader *got)
99 struct GNUNET_MessageHeader msg; 99 struct GNUNET_MessageHeader msg;
100 100
101 GNUNET_assert (got != NULL); /* timeout */ 101 GNUNET_assert (got != NULL); /* timeout */
102 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 102 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
103 "Receiving bounce, checking content\n"); 103 "Receiving bounce, checking content\n");
104 msg.type = htons (MY_TYPE); 104 msg.type = htons (MY_TYPE);
105 msg.size = htons (sizeof (struct GNUNET_MessageHeader)); 105 msg.size = htons (sizeof (struct GNUNET_MessageHeader));
@@ -183,7 +183,7 @@ main (int argc, char *argv[])
183 183
184 pid_t pid = fork(); 184 pid_t pid = fork();
185 GNUNET_assert (pid >= 0); 185 GNUNET_assert (pid >= 0);
186 if (pid == 0) 186 if (pid == 0)
187 { 187 {
188 execlp ("ssh", 188 execlp ("ssh",
189 "ssh","-D",socksport, 189 "ssh","-D",socksport,