diff options
Diffstat (limited to 'libpam/pam_misc.c')
-rw-r--r-- | libpam/pam_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpam/pam_misc.c b/libpam/pam_misc.c index 9588be17..8cf2214e 100644 --- a/libpam/pam_misc.c +++ b/libpam/pam_misc.c @@ -45,7 +45,7 @@ #include <syslog.h> #include <ctype.h> -char *_pam_StrTok(char *from, const char *format, char **next) +char *_pam_tokenize(char *from, const char *format, char **next) /* * this function is a variant of the standard strtok, it differs in that * it takes an additional argument and doesn't nul terminate tokens until @@ -198,7 +198,7 @@ int _pam_mkargv(const char *s, char ***argv, int *argc) argvbufp = (char *) argvbuf + (l * sizeof(char *)); D(("[%s]",sbuf)); - while ((sbuf = _pam_StrTok(sbuf, " \n\t", &tmp))) { + while ((sbuf = _pam_tokenize(sbuf, " \n\t", &tmp))) { D(("arg #%d",++count)); D(("->[%s]",sbuf)); strcpy(argvbufp, sbuf); |