leading spaces....

Mike Tancsa (mike@sentex.net)
Thu, 16 Jan 1997 12:28:17 -0500

In the radius 2 source code and the file users.c in the function user_find
there is the following code

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.