Skip to content

Commit

Permalink
Another possible code path.
Browse files Browse the repository at this point in the history
  • Loading branch information
acv committed Mar 29, 2015
1 parent faf68a6 commit ae581b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gateway.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ main_loop(void)
* values that are not -1, 0 or 1. */
if (webserver->lastError == -1) {
/* Interrupted system call */
continue; /* restart loop */

This comment has been minimized.

Copy link
@acv

acv Mar 29, 2015

Author Owner

continue was not needed as no other branch from the if would be take until end of body of loop.

if (NULL != r) {
httpdEndRequest(r);
}
} else if (webserver->lastError < -1) {
/*
* FIXME
Expand Down

0 comments on commit ae581b3

Please sign in to comment.