summaryrefslogtreecommitdiffstats
path: root/include/snprintf.c
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-08-27 07:46:27 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-08-27 07:46:27 +0000
commitc6afb801e3c4544e2c9137342355eb25a02a1503 (patch)
tree99656ebba0c26163b5d0628eac5066b10cdca76b /include/snprintf.c
parent24e6d923e25b7ad4fd1eb9190ed1a2ee88918840 (diff)
downloadzabbix-c6afb801e3c4544e2c9137342355eb25a02a1503.tar.gz
zabbix-c6afb801e3c4544e2c9137342355eb25a02a1503.tar.xz
zabbix-c6afb801e3c4544e2c9137342355eb25a02a1503.zip
- added command line parameters -c <config> and -h to zabbix_agentd (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1410 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/snprintf.c')
-rw-r--r--include/snprintf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/snprintf.c b/include/snprintf.c
index 04de4f47..f58a11bf 100644
--- a/include/snprintf.c
+++ b/include/snprintf.c
@@ -171,8 +171,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
size_t currlen;
va_list args;
-/* VA_COPY(args, args_in);*/
- va_copy(args, args_in);
+ VA_COPY(args, args_in);
state = DP_S_DEFAULT;
currlen = flags = cflags = min = 0;