Remove a bad strlen() usage

This commit is contained in:
Julien Danjou 2008-03-13 15:18:23 +01:00
parent d1e216936c
commit 98e219fab8
1 changed files with 1 additions and 1 deletions

2
uicb.c
View File

@ -66,7 +66,7 @@ uicb_exec(int screen __attribute__ ((unused)), char *cmd)
/* Ignore the leading spaces if any */ /* Ignore the leading spaces if any */
for(args_pos = 0; for(args_pos = 0;
args_pos < strlen(cmd) && cmd[args_pos] == ' '; args_pos < a_strlen(cmd) && cmd[args_pos] == ' ';
++args_pos); ++args_pos);
/* Get the beginning of the arguments */ /* Get the beginning of the arguments */