OSSP CVS Repository

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

ossp-pkg/xds/vencode.c 1.2 -> 1.3

--- vencode.c    2001/07/09 17:19:58     1.2
+++ vencode.c    2001/07/09 17:36:33     1.3
@@ -97,7 +97,10 @@
         {
         while(isalnum(*p) || *p == '-' || *p == '_')
             ++p;
-        *p++ = '\0';
+        if (*p)
+            *p++ = '\0';
+        else
+            *p = '\0';
 
         if (strlen(name) > 0)
             {

CVSTrac 2.0.1