*: 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>
diff --git a/networking/brctl.c b/networking/brctl.c
index a36ab45..0f56412 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -271,7 +271,7 @@
}
}
arg1 = port;
- arg2 = xatoi_u(*argv);
+ arg2 = xatoi_positive(*argv);
if (key == ARG_setbridgeprio) {
arg1 = arg2;
arg2 = 0;
diff --git a/networking/ftpd.c b/networking/ftpd.c
index e8cae0a..0daf9f7 100644
--- a/networking/ftpd.c
+++ b/networking/ftpd.c
@@ -534,7 +534,7 @@
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);
}
diff --git a/networking/wget.c b/networking/wget.c
index fb8e513..784e405 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -213,7 +213,7 @@
} while (!isdigit(buf[0]) || buf[3] != ' ');
buf[3] = '\0';
- result = xatoi_u(buf);
+ result = xatoi_positive(buf);
buf[3] = ' ';
return result;
}