summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-08-28 18:56:03 +0000
committerTrent Lloyd <lathiat@bur.st>2005-08-28 18:56:03 +0000
commit6fc2d9e75412ef168ef3b09c091e5821fc39b99a (patch)
tree7fde144303343b4087d7e167291191ffaa550ccd
parent9217e657e5afcbc6da90bfdd65b4417999af6402 (diff)
* Yeh, maybe we should use the copied value instead of the old one...
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@474 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-common/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-common/malloc.c b/avahi-common/malloc.c
index 96ad1de..52e0962 100644
--- a/avahi-common/malloc.c
+++ b/avahi-common/malloc.c
@@ -207,7 +207,7 @@ char *avahi_strdup_vprintf(const char *fmt, va_list ap) {
va_copy (ap2, ap);
- n = vsnprintf(buf, len, fmt, ap);
+ n = vsnprintf(buf, len, fmt, ap2);
va_end (ap2);