From 7783248eaac715b813f0635b06cc140ea99bb4d9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 12 Aug 2010 14:14:45 +0200 Subject: *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i Signed-off-by: Denys Vlasenko --- networking/brctl.c | 2 +- networking/ftpd.c | 2 +- networking/wget.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'networking') 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 @@ 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; 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 @@ 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); } 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 @@ 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; } -- cgit v1.1