From: Martin Pool Date: Wed, 15 Aug 2001 05:07:29 +0000 (+0000) Subject: Fix bug in --address handling. X-Git-Tag: mbp_bk_export0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b335d74565edf53d38056b9b83a5674e2203e1ff;p=thirdparty%2Frsync.git Fix bug in --address handling. --- diff --git a/options.c b/options.c index e6722623..58b58de6 100644 --- a/options.c +++ b/options.c @@ -471,7 +471,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain) case OPT_ADDRESS: { struct in_addr *ia; - if ((ia = ip_address(optarg))) { + if ((ia = ip_address (poptGetOptArg (pc)))) { socket_address = *ia; } }