nc: missed exit() in signal handler
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2007 20:57:10 +0000 (20:57 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2007 20:57:10 +0000 (20:57 -0000)
networking/nc_bloaty.c

index 260d2057a0d2dbb8bcd4dcd34d785459556ee7b7..ca5dd1bf7aec0232c329e347d89d859beeb70b06 100644 (file)
@@ -154,6 +154,7 @@ static void catch(int sig)
        if (o_verbose > 1)                /* normally we don't care */
                fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out);
        fprintf(stderr, "punt!\n");
+       exit(1);
 }
 
 /* timeout and other signal handling cruft */