summaryrefslogtreecommitdiff
path: root/daemon/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/digest.c')
-rw-r--r--daemon/digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/digest.c b/daemon/digest.c
index 968399a..5d91995 100644
--- a/daemon/digest.c
+++ b/daemon/digest.c
@@ -338,7 +338,7 @@ int digest_pre_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t
if(ha_uriparse(buf, dg->client.uri, &d_uri) < 0)
{
- if(ha_buferr(buf))
+ if(CHECK_BUF(buf))
return HA_CRITERROR;
ha_messagex(NULL, LOG_WARNING, "digest response constains invalid uri: %s", dg->client.uri);
@@ -349,7 +349,7 @@ int digest_pre_check(digest_context_t* dg, const ha_context_t* opts, ha_buffer_t
if(ha_uriparse(buf, dg->server_uri, &s_uri) < 0)
{
- if(ha_buferr(buf))
+ if(CHECK_BUF(buf))
return HA_CRITERROR;
ha_messagex(NULL, LOG_ERR, "server sent us an invalid uri: %s", dg->server_uri);