diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-10-18 18:51:16 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-10-20 19:31:35 +0100 |
commit | dd4c8678de8ed13eedcf543b301b92216f6352de (patch) | |
tree | 5307d3c1481a0a033244294b6744b97e1587fe9f /test/src/client.c | |
parent | 0160bfb8f6435449f80ccd8a8d20a0d749c0624d (diff) |
Compiler quietening
Diffstat (limited to 'test/src/client.c')
-rw-r--r-- | test/src/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/client.c b/test/src/client.c index e7210f223..b97aa5475 100644 --- a/test/src/client.c +++ b/test/src/client.c @@ -518,7 +518,7 @@ while (argc >= argi + 1 && argv[argi][0] == '-') strcmp(argv[argi], "--help") == 0 || strcmp(argv[argi], "-h") == 0) { - printf(HELP_MESSAGE); + puts(HELP_MESSAGE); exit(0); } if (strcmp(argv[argi], "-tls-on-connect") == 0) @@ -549,13 +549,13 @@ while (argc >= argi + 1 && argv[argi][0] == '-') } if (tmplong > 10000L) { - fprintf(stderr, "Unreasonably long wait of %d seconds requested\n", + fprintf(stderr, "Unreasonably long wait of %ld seconds requested\n", tmplong); exit(1); } if (tmplong < 0L) { - fprintf(stderr, "Timeout must not be negative (%d)\n", tmplong); + fprintf(stderr, "Timeout must not be negative (%ld)\n", tmplong); exit(1); } timeout = (int) tmplong; |