summaryrefslogtreecommitdiff
path: root/daemon/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/misc.c')
-rw-r--r--daemon/misc.c5
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