OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/al_test.c versions 1.18 and 1.19
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/al_test.c 1.18 -> 1.19

--- al_test.c    2002/11/28 16:11:49     1.18
+++ al_test.c    2002/11/28 17:44:14     1.19
@@ -37,9 +37,10 @@
 #include "al.h"
 
 /* get unique pointers */
-static char label, label2;
+static char label, label2, label3;
 #define LABEL  ((al_label_t)&label)
 #define LABEL2 ((al_label_t)&label2)
+#define LABEL3 ((al_label_t)&label3)
 
 #define S(s) s, strlen(s)
 
@@ -182,7 +183,9 @@
     checklen("SPLICED",al);
     checklen("COPY",al4);
 
-    rc = al_setlabel(al4, 5, 9, LABEL2);
+    rc = al_setlabel(al4, 7, 2, NULL, LABEL3);
+    printf("setlabel result: %d (%s)\n\n",rc,al_error(rc));
+    rc = al_setlabel(al4, 5, 9, LABEL, LABEL2);
     printf("setlabel result: %d (%s)\n\n",rc,al_error(rc));
     checklen("COPY",al4);
 

CVSTrac 2.0.1