use strlwr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1096 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -51,15 +51,6 @@ usage (void)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
static void
|
||||
strlwr (char *s)
|
||||
{
|
||||
while(*s) {
|
||||
*s = tolower(*s);
|
||||
s++;
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
renew (int argc, char **argv, OtpAlgorithm *alg)
|
||||
{
|
||||
|
@@ -47,7 +47,7 @@ pop_parse(POP *p, char *buf)
|
||||
if (i == 0) return (-1);
|
||||
|
||||
/* Convert the first token (POP command) to lower case */
|
||||
pop_lower(p->pop_command);
|
||||
strlwr(p->pop_command);
|
||||
|
||||
/* Return the number of tokens extracted minus the command itself */
|
||||
return (i-1);
|
||||
|
@@ -17,7 +17,7 @@ pop_xtnd (POP *p)
|
||||
xtnd_table * x;
|
||||
|
||||
/* Convert the XTND subcommand to lower case */
|
||||
pop_lower(p->pop_subcommand);
|
||||
strlwr(p->pop_subcommand);
|
||||
|
||||
/* Search for the subcommand in the XTND command table */
|
||||
if ((x = pop_get_subcommand(p)) == NULL) return(POP_FAILURE);
|
||||
|
Reference in New Issue
Block a user