Remove a bad strlen() usage
This commit is contained in:
parent
d1e216936c
commit
98e219fab8
2
uicb.c
2
uicb.c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue