]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
simplified test
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 26 Oct 2013 16:05:43 +0000 (18:05 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 26 Oct 2013 16:05:43 +0000 (18:05 +0200)
tests/mini-handshake-timeout.c

index 7079aff7ee50f9dd90061153035ef751cf4f51ff..df0a7f061d695230137f1f92f12853bae04fc53d 100644 (file)
@@ -119,7 +119,7 @@ client (int fd, int wait)
           exit(1);
         }
       if (debug) success("client: expected timeout occured\n");
-      exit(0);
+      return;
     }
   else
     {
@@ -131,7 +131,7 @@ client (int fd, int wait)
         }
     }
 
-  exit(0);
+  return;
 }
 
 static void