OSSP CVS Repository

ossp - Difference in ossp-pkg/tai/ts.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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)

CVSTrac 2.0.1