aboutsummaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-12 21:50:18 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-12 21:50:18 +0200
commit7573aa16169e80baec80440463a524e5f4e92911 (patch)
treed2f0cd9bdd7e7465d3763c15d69817c71f23c1ea /lib/tests
parente8044713d41f5ef1d9ce814df4a079d8f92306b0 (diff)
downloadmonitoring-plugins-7573aa16169e80baec80440463a524e5f4e92911.tar.gz
Minor cosmetic changes
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/test_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/test_tcp.c b/lib/tests/test_tcp.c
index ae6dc1f4..114252b4 100644
--- a/lib/tests/test_tcp.c
+++ b/lib/tests/test_tcp.c
@@ -21,10 +21,11 @@
#include "tap.h"
int
-main (int argc, char **argv)
+main(void)
{
- char** server_expect;
+ char **server_expect;
int server_expect_count = 3;
+
plan_tests(9);
server_expect = malloc(sizeof(char*) * server_expect_count);
@@ -55,4 +56,3 @@ main (int argc, char **argv)
return exit_status();
}
-