Remove a bad strlen() usage

This commit is contained in:
Julien Danjou 2008-03-13 15:18:23 +01:00
parent d1e216936c
commit 98e219fab8

2
uicb.c
View file

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