diff options
author | Stef Walter <stef@memberwebs.com> | 2004-08-17 22:54:16 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-08-17 22:54:16 +0000 |
commit | 4faa3b65abad58a20c5e7e401361d30188460a83 (patch) | |
tree | 5c6bd3f1f2c9cc65ec9fc8d6a22824cde8fc40a1 /daemon/mysql.c | |
parent | 2888f640a34e34d5a85841976fb8937c4a7774a0 (diff) |
Better message handling when buffer runs out of memory.
Diffstat (limited to 'daemon/mysql.c')
-rw-r--r-- | daemon/mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mysql.c b/daemon/mysql.c index b6885b0..df2f8e2 100644 --- a/daemon/mysql.c +++ b/daemon/mysql.c @@ -131,7 +131,7 @@ static int dec_mysql_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, mysql_context_t* ctx, const char* user, |