Skip to content

Commit

Permalink
Check error status, avoid compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-iris committed Jan 13, 2017
1 parent a654455 commit 7586810
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,9 @@ GenerateStatus (ClientInfo *cinfo, char **status)
latestpacketid,
latestpacketcreate, latestpacketstart, latestpacketend);

if (rv < 0)
return -1;

AddToString (status, "\nServer threads:\n", "", 0, 8388608);

/* List server threads, lock thread list while looping */
Expand Down

0 comments on commit 7586810

Please sign in to comment.