Skip to content

Commit

Permalink
Quick and dirty fix to exit quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
jprjr committed Jul 6, 2021
1 parent 0da6c0a commit 720c5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/socklog/socklog.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ int read_socket (int s) {
int linec;
int os;

if (flag_exitasap) break;
linec =recvfrom(s, line, LINEC, 0, (struct sockaddr *) &saf, &dummy);
if (linec == -1) {
if (errno != EINTR)
Expand Down

0 comments on commit 720c5cf

Please sign in to comment.