From 4faa3b65abad58a20c5e7e401361d30188460a83 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 17 Aug 2004 22:54:16 +0000 Subject: Better message handling when buffer runs out of memory. --- daemon/bd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/bd.c') 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)); -- cgit v1.2.3