From 6fc2d9e75412ef168ef3b09c091e5821fc39b99a Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Sun, 28 Aug 2005 18:56:03 +0000 Subject: [PATCH] * 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 --- avahi-common/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5