summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/mpr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-08 16:05:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:00 -0500
commit4a61e4901ebc751fea57880424f9045e3bdf238e (patch)
tree98f0c68e041de8d0001a9d3dd996b0790e1473e8 /source4/lib/appweb/mpr
parent69979ddc6e6a5b36f710ec6155b50c00568f68cf (diff)
downloadsamba-4a61e4901ebc751fea57880424f9045e3bdf238e.tar.gz
samba-4a61e4901ebc751fea57880424f9045e3bdf238e.tar.bz2
samba-4a61e4901ebc751fea57880424f9045e3bdf238e.zip
r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit (This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
Diffstat (limited to 'source4/lib/appweb/mpr')
-rw-r--r--source4/lib/appweb/mpr/miniMpr.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/lib/appweb/mpr/miniMpr.c b/source4/lib/appweb/mpr/miniMpr.c
index f4c219fe4c..8df1817bf1 100644
--- a/source4/lib/appweb/mpr/miniMpr.c
+++ b/source4/lib/appweb/mpr/miniMpr.c
@@ -330,13 +330,7 @@ static int mprCoreStrcat(int alloc, char **destp, int destMax, int existingLen,
dest = *destp;
sepLen = (delim) ? strlen(delim) : 0;
-#ifdef HAVE_VA_COPY
va_copy(ap, args);
-#elif HAVE___VA_COPY
- __va_copy(ap, args);
-#else
- ap = args;
-#endif
addBytes = 0;
str = src;
while (str) {
@@ -371,13 +365,7 @@ static int mprCoreStrcat(int alloc, char **destp, int destMax, int existingLen,
}
if (addBytes > 0) {
-#ifdef HAVE_VA_COPY
va_copy(ap, args);
-#elif HAVE___VA_COPY
- __va_copy(ap, args);
-#else
- ap = args;
-#endif
str = src;
while (str) {
strcpy(dp, str);