summaryrefslogtreecommitdiff
path: root/daemon/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/pgsql.c')
-rw-r--r--daemon/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/pgsql.c b/daemon/pgsql.c
index 6ed5658..ce3d3b3 100644
--- a/daemon/pgsql.c
+++ b/daemon/pgsql.c
@@ -142,7 +142,7 @@ static int dec_pgsql_binary(const ha_request_t* rq, const char* enc,
return HA_OK;
}
- return ha_buferr(rq->buf) ? HA_CRITERROR : HA_FALSE;
+ return CHECK_RBUF(rq) ? HA_CRITERROR : HA_FALSE;
}
static int validate_ha1(ha_request_t* rq, pgsql_context_t* ctx, const char* user,