*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -271,7 +271,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
|
||||
}
|
||||
}
|
||||
arg1 = port;
|
||||
arg2 = xatoi_u(*argv);
|
||||
arg2 = xatoi_positive(*argv);
|
||||
if (key == ARG_setbridgeprio) {
|
||||
arg1 = arg2;
|
||||
arg2 = 0;
|
||||
|
||||
@@ -534,7 +534,7 @@ static void
|
||||
handle_rest(void)
|
||||
{
|
||||
/* When ftp_arg == NULL simply restart from beginning */
|
||||
G.restart_pos = G.ftp_arg ? xatoi_u(G.ftp_arg) : 0;
|
||||
G.restart_pos = G.ftp_arg ? xatoi_positive(G.ftp_arg) : 0;
|
||||
WRITE_OK(FTP_RESTOK);
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ static int ftpcmd(const char *s1, const char *s2, FILE *fp, char *buf)
|
||||
} while (!isdigit(buf[0]) || buf[3] != ' ');
|
||||
|
||||
buf[3] = '\0';
|
||||
result = xatoi_u(buf);
|
||||
result = xatoi_positive(buf);
|
||||
buf[3] = ' ';
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user