diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-10-24 16:39:14 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-10-24 16:39:14 +0000 |
commit | f42c22c62e41809a2dfeb868ec7c8697552af02e (patch) | |
tree | 8209e5b4807255e87915dbf49e4e13db2563d109 /src/tls_test.c | |
parent | ad5c74796789735b80ade87b5571cd1f3e2a9d1f (diff) | |
download | gnutls-f42c22c62e41809a2dfeb868ec7c8697552af02e.tar.gz |
gnutls-cli-debug now accepts one hostname only
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; |