Check-in Number:
|
4185 | |
Date: |
2001-Jul-09 19:36:33 (local)
2001-Jul-09 17:36:33 (UTC) |
User: | simons |
Branch: | |
Comment: |
Fixed a bug in xds_vencode() that would cause the routine not to
recognize the end of the fmt string correctly. |
Tickets: |
|
Inspections: |
|
Files: |
|
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)
{
|
|