]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxnet.c
On some systems (NetBSD 1.6 and Solaris 9, at least), GCC doesn't understand
[PuTTY.git] / unix / uxnet.c
index 46959e2f7824fa9704b7d549808849b119831277..31b12921d733f9fcc0f0fb2815aed1508c46db98 100644 (file)
@@ -576,6 +576,7 @@ static int try_connect(Actual_Socket sock)
 
       default:
        assert(0 && "unknown address family");
+       exit(1); /* XXX: GCC doesn't understand assert() on some systems. */
     }
 
     fl = fcntl(s, F_GETFL);