From: Pierre Habouzit Date: Sun, 29 Oct 2006 01:45:56 +0000 (+0100) Subject: oops, makedoc is used in the build process. X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=9e6ab0152703ad301042ce8810859f41fbee405a oops, makedoc is used in the build process. --- diff --git a/makedoc.c b/makedoc.c index f5e85cf..4829215 100644 --- a/makedoc.c +++ b/makedoc.c @@ -191,7 +191,7 @@ static void add_var (const char *name) { outbuf = realloc (outbuf, (++outcount) * sizeof (var_t)); outbuf[outcount - 1].seen = 0; - outbuf[outcount - 1].name = p_strdup(name, str_len(name)); + outbuf[outcount - 1].name = strdup(name); outbuf[outcount - 1].descr = NULL; } @@ -207,7 +207,7 @@ static int add_s (const char *s) } if (lold == 0) - outbuf[outcount - 1].descr = p_strdup(s, str_len(s)); + outbuf[outcount - 1].descr = strdup(s); else { outbuf[outcount - 1].descr = realloc (outbuf[outcount - 1].descr, lold + lnew + 1);