diff options
Diffstat (limited to 'src/tls_test.c')
-rw-r--r-- | src/tls_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls_test.c b/src/tls_test.c index 07670a942e..8df3e6c6c9 100644 --- a/src/tls_test.c +++ b/src/tls_test.c @@ -217,8 +217,8 @@ void gaa_parser(int argc, char **argv) } port = info.pp; - if (info.nrest_args==0) hostname="localhost"; - else hostname = info.rest_args[0]; + if (info.rest_args==NULL) hostname="localhost"; + else hostname = info.rest_args; more_info = info.more_info; |