diff options
Diffstat (limited to 'libwaitress/src/main.c')
-rw-r--r-- | libwaitress/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libwaitress/src/main.c b/libwaitress/src/main.c index 43721f0..a9acbd7 100644 --- a/libwaitress/src/main.c +++ b/libwaitress/src/main.c @@ -257,7 +257,7 @@ WaitressReturn_t WaitressPollRead (int sockfd, char *buf, size_t count, return WAITRESS_RET_ERR; } if ((*retSize = read (sockfd, buf, count)) == -1) { - return WAITRESS_RET_ERR; + return WAITRESS_RET_READ_ERR; } return WAITRESS_RET_OK; } |