OSSP CVS Repository

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

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

--- l2_ut_level.c        2001/09/05 13:32:04     1.1
+++ l2_ut_level.c        2001/09/06 14:37:53     1.2
@@ -62,7 +62,7 @@
             levelmask &= ~(l2s_table[i].level);
             l = strlen(l2s_table[i].string) + 1;
             if (len < l)
-                return L2_ERROR;
+                return L2_ERR_MEM;
             sprintf(string+(maxlen-len), "%s%c", l2s_table[i].string, sep);
             len -= l;
         }
@@ -71,7 +71,7 @@
         sprintf(hexbuf, "0x%x", levelmask);
         l = strlen(hexbuf) + 1;
         if (len < l)
-            return L2_ERROR;
+            return L2_ERR_MEM;
         sprintf(string+(maxlen-len), "%s%c", hexbuf, sep);
         len -= l;
     }
@@ -131,7 +131,7 @@
                 *levelmask |= hexval(cpB+2, cpE);
             }
             else
-                return L2_ERROR;
+                return L2_ERR_ARG;
         }
     }
     return L2_OK;

CVSTrac 2.0.1