From 9e6ab0152703ad301042ce8810859f41fbee405a Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Sun, 29 Oct 2006 02:45:56 +0100 Subject: [PATCH] oops, makedoc is used in the build process. --- makedoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1