summaryrefslogtreecommitdiff
path: root/main/spprintf.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-04-10 13:02:53 +0000
committerMarcus Boerger <helly@php.net>2002-04-10 13:02:53 +0000
commit4e1a645ab01fb53a47bd1cb80b5e38b658eded25 (patch)
tree204880201d8c16fe9cf3ee48fd4713f7178d3b79 /main/spprintf.c
parent1f847267e729d6496fa1b491c6299afd45225c5c (diff)
downloadphp-git-4e1a645ab01fb53a47bd1cb80b5e38b658eded25.tar.gz
fix a warnig and an error (found by Sebastioan)
Diffstat (limited to 'main/spprintf.c')
-rw-r--r--main/spprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/spprintf.c b/main/spprintf.c
index 6bc1330d3f..f6878f3c54 100644
--- a/main/spprintf.c
+++ b/main/spprintf.c
@@ -638,7 +638,7 @@ int spprintf(char **pbuf, size_t max_len, const char *format, ...)
va_list ap;
va_start(ap, format);
- vspprintf(pbuf, max_len, format, ap);
+ cc = vspprintf(pbuf, max_len, format, ap);
va_end(ap);
return (cc);
}