aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-12 14:14:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-12 14:14:45 +0200
commit7783248eaac715b813f0635b06cc140ea99bb4d9 (patch)
treeb7c3acbdf7e45afdb31a721a693f0a8a65f80730 /networking
parent7bfbbd434a6f435b0287cd25406927c630b03f68 (diff)
downloadbusybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz
busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.bz2
busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.zip
*: 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>
Diffstat (limited to 'networking')
-rw-r--r--networking/brctl.c2
-rw-r--r--networking/ftpd.c2
-rw-r--r--networking/wget.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/networking/brctl.c b/networking/brctl.c
index a36ab45c3..0f56412ce 100644
--- a/networking/brctl.c
+++ b/networking/brctl.c
@@ -271,7 +271,7 @@ int brctl_main(int argc UNUSED_PARAM, char **argv)
271 } 271 }
272 } 272 }
273 arg1 = port; 273 arg1 = port;
274 arg2 = xatoi_u(*argv); 274 arg2 = xatoi_positive(*argv);
275 if (key == ARG_setbridgeprio) { 275 if (key == ARG_setbridgeprio) {
276 arg1 = arg2; 276 arg1 = arg2;
277 arg2 = 0; 277 arg2 = 0;
diff --git a/networking/ftpd.c b/networking/ftpd.c
index e8cae0a36..0daf9f7a3 100644
--- a/networking/ftpd.c
+++ b/networking/ftpd.c
@@ -534,7 +534,7 @@ static void
534handle_rest(void) 534handle_rest(void)
535{ 535{
536 /* When ftp_arg == NULL simply restart from beginning */ 536 /* When ftp_arg == NULL simply restart from beginning */
537 G.restart_pos = G.ftp_arg ? xatoi_u(G.ftp_arg) : 0; 537 G.restart_pos = G.ftp_arg ? xatoi_positive(G.ftp_arg) : 0;
538 WRITE_OK(FTP_RESTOK); 538 WRITE_OK(FTP_RESTOK);
539} 539}
540 540
diff --git a/networking/wget.c b/networking/wget.c
index fb8e51317..784e405da 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -213,7 +213,7 @@ static int ftpcmd(const char *s1, const char *s2, FILE *fp, char *buf)
213 } while (!isdigit(buf[0]) || buf[3] != ' '); 213 } while (!isdigit(buf[0]) || buf[3] != ' ');
214 214
215 buf[3] = '\0'; 215 buf[3] = '\0';
216 result = xatoi_u(buf); 216 result = xatoi_positive(buf);
217 buf[3] = ' '; 217 buf[3] = ' ';
218 return result; 218 return result;
219} 219}