OSSP CVS Repository

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

ossp-pkg/l2/l2_ut_param.c 1.1 -> 1.2

--- l2_ut_param.c        2001/09/04 13:52:59     1.1
+++ l2_ut_param.c        2001/09/05 07:41:18     1.2
@@ -85,6 +85,9 @@
                     case L2_TYPE_DOUBLE:
                         *(double *)(pa[i].store) = va_get(ap, double); 
                         break;
+                    case L2_TYPE_STRING:
+                        *(char **)(pa[i].store) = strdup(va_get(ap, charptr)); 
+                        break;
                     case L2_TYPE_CHARPTR:
                         *(char **)(pa[i].store) = va_get(ap, charptr); 
                         break;

CVSTrac 2.0.1