while (*ptr != '\0') {
if (*ptr == ' ' || *ptr == '\t') {
*ptr = '\0';
} else {
ptr++;
}
}
Just wondering why radius would toss names with leading spaces and not
attempt to trim the name? I made a small patch to do this, but wondering
if I am breaking anything or compromising anything by doing so.
Unfortunately, we have found that tcpman has the tendancy to places spaces
at the front of a user's name on occasion.