]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
last minute changes for 0.3.91 release
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 3 Mar 2002 09:28:01 +0000 (09:28 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 3 Mar 2002 09:28:01 +0000 (09:28 +0000)
src/tls_test.c

index b37b699f8c10f7848337b44c2a3d5e5bfab2c603..44f1c30f8f192ca676844c1783f04d0d91647300 100644 (file)
@@ -100,6 +100,7 @@ static const TLS_TEST tls_tests[] = {
        { NULL }
 };
 
+static int tt = 0;
 
 #define CONNECT() \
                sd = socket(AF_INET, SOCK_STREAM, 0); \
@@ -109,7 +110,7 @@ static const TLS_TEST tls_tests[] = {
                sa.sin_port = htons(port); \
                sa.sin_addr.s_addr = *((unsigned int *) server_host->h_addr); \
                inet_ntop(AF_INET, &sa.sin_addr, buffer, MAX_BUF); \
-               if(more_info!=0) fprintf(stderr, "Connecting to '%s:%d'...\n", buffer, port); \
+               if (tt++ == 0) fprintf(stderr, "Connecting to '%s:%d'...\n", buffer, port); \
                err = connect(sd, (SA *) & sa, sizeof(sa)); \
                ERR(err, "connect")