aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-12 17:48:12 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-12 17:48:12 +0000
commit834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed (patch)
tree5588613a3e7af3c0a5f73f552251b924d299d13a /src/io.c
parent56949550025f447691b0f32632b35af4749da358 (diff)
downloadcalcurse-834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed.tar.gz
calcurse-834a7e9aafbc8c07aad3d7f067cca42e6d2e33ed.zip
New wrappers around memory functions.
Diffstat (limited to 'src/io.c')
-rwxr-xr-xsrc/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index 732c15c..05b24db 100755
--- a/src/io.c
+++ b/src/io.c
@@ -1,4 +1,4 @@
-/* $calcurse: io.c,v 1.67 2009/07/12 16:22:00 culot Exp $ */
+/* $calcurse: io.c,v 1.68 2009/07/12 17:48:13 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -1825,7 +1825,7 @@ ical_unfold_content (FILE *fd, char *line, unsigned *lineno)
return NULL;
}
newsize = strlen (content) + strlen (tmpline) + 1;
- if ((rline = mem_realloc (content, newsize)) == NULL)
+ if ((rline = mem_realloc (content, newsize, 1)) == NULL)
{
mem_free (content);
mem_free (tmpline);