summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c
index 4450b7a..8b8617e 100644
--- a/daemon/httpauthd.c
+++ b/daemon/httpauthd.c
@@ -922,7 +922,7 @@ static int httpauth_ready(ha_request_t* rq, int ofd)
/* We send a ready banner to our client */
- if(ha_buferr(rq->buf))
+ if(CHECK_RBUF(rq))
return httpauth_error(rq, ofd, HA_CRITERROR);
else
@@ -1072,7 +1072,7 @@ static int httpauth_processor(int ifd, int ofd)
r = httpauth_read(&rq, ifd);
- if(ha_buferr(&buf))
+ if(CHECK_RBUF(&rq))
r = HA_CRITERROR;
if(r < 0)
@@ -1112,7 +1112,7 @@ static int httpauth_processor(int ifd, int ofd)
break;
};
- if(ha_buferr(&buf))
+ if(CHECK_RBUF(&rq))
r = HA_CRITERROR;
if(r < 0)