version 1.23, 2009/10/27 23:59:38 |
version 1.24, 2013/11/26 13:18:55 |
|
|
if (*p == '&') { |
if (*p == '&') { |
/* interpolate full name */ |
/* interpolate full name */ |
strlcpy(bp, login, buflen - (bp - buf)); |
strlcpy(bp, login, buflen - (bp - buf)); |
*bp = toupper(*bp); |
*bp = toupper((unsigned char)*bp); |
bp += strlen(bp); |
bp += strlen(bp); |
} |
} |
else |
else |
|
|
|
|
/* don't touch anything if the user has their own formatting */ |
/* don't touch anything if the user has their own formatting */ |
for (p = num; *p; ++p) |
for (p = num; *p; ++p) |
if (!isdigit(*p)) |
if (!isdigit((unsigned char)*p)) |
return (num); |
return (num); |
len = p - num; |
len = p - num; |
p = pbuf; |
p = pbuf; |