ossp-pkg/tai/ts.c 1.2 -> 1.3
--- ts.c 2003/07/31 07:29:51 1.2
+++ ts.c 2005/10/09 21:27:58 1.3
@@ -202,7 +202,7 @@
if (format == NULL)
return NULL;
- ap2 = ap;
+ va_copy(ap2, ap);
if ((n = ts_suite_mvxprintf(NULL, 0, format, ap)) == -1)
return NULL;
if ((buffer = (char *)malloc(n+1)) == NULL)
|
|