diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-05 20:57:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-05 20:57:10 +0000 |
commit | 5f42d2686559e8c14a08fce59fbbb0e77e584d7a (patch) | |
tree | 9ddb8e624f7dc2206b6d8b4d8ca89b35bea22eab /networking | |
parent | 29fe7265b8c1917ebc03283f22a3eb61e9195979 (diff) | |
download | busybox-w32-5f42d2686559e8c14a08fce59fbbb0e77e584d7a.tar.gz busybox-w32-5f42d2686559e8c14a08fce59fbbb0e77e584d7a.tar.bz2 busybox-w32-5f42d2686559e8c14a08fce59fbbb0e77e584d7a.zip |
nc: missed exit() in signal handler
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nc_bloaty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index 260d2057a..ca5dd1bf7 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c | |||
@@ -154,6 +154,7 @@ static void catch(int sig) | |||
154 | if (o_verbose > 1) /* normally we don't care */ | 154 | if (o_verbose > 1) /* normally we don't care */ |
155 | fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out); | 155 | fprintf(stderr, SENT_N_RECV_M, wrote_net, wrote_out); |
156 | fprintf(stderr, "punt!\n"); | 156 | fprintf(stderr, "punt!\n"); |
157 | exit(1); | ||
157 | } | 158 | } |
158 | 159 | ||
159 | /* timeout and other signal handling cruft */ | 160 | /* timeout and other signal handling cruft */ |