summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.c b/src/common.c
index ecb0278..19ec4f1 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1,5 +1,5 @@
/* --------------------------------------------------------------------------
- * Copyright 2003-2011 (inclusive) Nathan Angelacos
+ * Copyright 2003-2014 (inclusive) Nathan Angelacos
* (nangel@users.sourceforge.net)
*
* This file is part of haserl.
@@ -258,7 +258,7 @@ buffer_add (buffer_t * buf, const void *data, unsigned long size)
buf->data = realloc (buf->data, newsize);
if ( buf->data == NULL )
{
- die_with_message ( NULL, NULL, 'Memory allocation error');
+ die_with_message ( NULL, NULL, "Memory allocation error");
}
buf->limit = buf->data + newsize;
buf->ptr = buf->data + index;