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)
{
|
|