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/basic.c | |
parent | 2888f640a34e34d5a85841976fb8937c4a7774a0 (diff) |
Better message handling when buffer runs out of memory.
Diffstat (limited to 'daemon/basic.c')
-rw-r--r-- | daemon/basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/basic.c b/daemon/basic.c index 6b41a36..99c2007 100644 --- a/daemon/basic.c +++ b/daemon/basic.c @@ -21,7 +21,7 @@ int basic_parse(const char* header, ha_buffer_t* buf, basic_header_t* rec) header = (const char*)ha_bufdec64(buf, header, NULL); if(!header) - return ha_buferr(buf) ? HA_CRITERROR : HA_FALSE; + return CHECK_BUF(buf) ? HA_CRITERROR : HA_FALSE; /* We have a cache key at this point so hash it */ |