Searched refs:userlen (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libcs/
H A Dcsaddr.c149 int userlen = 0; local
172 userlen = s - name;
248 if (!userlen && s != t)
250 userlen = s - t - 1;
300 if (userlen)
302 if (userlen >= sizeof(state->user)) userlen = sizeof(state->user) - 1;
303 strncpy(state->user, user, userlen);
305 state->user[userlen] = 0;

Completed in 10 milliseconds