diff options
Diffstat (limited to 'daemon/bd.c')
-rw-r--r-- | daemon/bd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/bd.c b/daemon/bd.c index 9c3b429..a20b90b 100644 --- a/daemon/bd.c +++ b/daemon/bd.c @@ -624,7 +624,7 @@ int bd_process(ha_request_t* rq) { ha_bufmcat(rq->buf, "BASIC realm=\"", rq->context->realm , "\"", NULL); - if(ha_buferr(rq->buf)) + if(CHECK_RBUF(rq)) return HA_CRITERROR; ha_addheader(rq, "WWW-Authenticate", ha_bufdata(rq->buf)); |