projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9114fcc
)
oops, makedoc is used in the build process.
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 29 Oct 2006 01:45:56 +0000
(
02:45
+0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 29 Oct 2006 01:45:56 +0000
(
02:45
+0100)
makedoc.c
patch
|
blob
|
history
diff --git
a/makedoc.c
b/makedoc.c
index
f5e85cf
..
4829215
100644
(file)
--- 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);