summaryrefslogtreecommitdiff
path: root/daemon/bd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-17 22:54:16 +0000
committerStef Walter <stef@memberwebs.com>2004-08-17 22:54:16 +0000
commit4faa3b65abad58a20c5e7e401361d30188460a83 (patch)
tree5c6bd3f1f2c9cc65ec9fc8d6a22824cde8fc40a1 /daemon/bd.c
parent2888f640a34e34d5a85841976fb8937c4a7774a0 (diff)
Better message handling when buffer runs out of memory.
Diffstat (limited to 'daemon/bd.c')
-rw-r--r--daemon/bd.c2
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));