diff options
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 45e49cb..1d476ca 100644 --- a/daemon/basic.c +++ b/daemon/basic.c @@ -22,7 +22,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_ERROR; + return ha_buferr(buf) ? HA_CRITERROR : HA_FALSE; /* We have a cache key at this point so hash it */ |