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/misc.c | |
parent | 2888f640a34e34d5a85841976fb8937c4a7774a0 (diff) |
Better message handling when buffer runs out of memory.
Diffstat (limited to 'daemon/misc.c')
-rw-r--r-- | daemon/misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon/misc.c b/daemon/misc.c index 7ab8147..c671276 100644 --- a/daemon/misc.c +++ b/daemon/misc.c @@ -17,6 +17,11 @@ extern pthread_mutex_t g_mutex; * Error Handling */ +void ha_memerr(const ha_request_t* rq) +{ + ha_messagex(rq, LOG_CRIT, "out of memory"); +} + const char kMsgDelimiter[] = ": "; #define MAX_MSGLEN 128 |