Fixed mstpcap ctrl-c on Linux. Fixed mstpcap makefile on linux, while excluding cygwin.

This commit is contained in:
skarg
2013-09-16 18:23:18 +00:00
parent 4b21f62f38
commit 6a22a2b89c
2 changed files with 4 additions and 17 deletions
-4
View File
@@ -853,11 +853,7 @@ static void sig_int(
if (FD_Pipe != -1) {
close(FD_Pipe);
}
/* signal to main loop to exit */
Exit_Requested = true;
while (Exit_Requested) {
usleep(1000);
}
exit(0);
}