Fix an argv array reference (root cause of a bug from the last commit)

This commit is contained in:
Alex Young
2012-06-13 13:52:15 +01:00
parent 7d1c15b07a
commit c2b6fac92d

View File

@@ -395,7 +395,7 @@ int mode_mirror( int argc, char *argv[] )
} }
if ( err ) { exit_err( mirror_help_text ); } if ( err ) { exit_err( mirror_help_text ); }
if (argv[2] == NULL) { if (remote_argv[2] == NULL) {
do_remote_command( "mirror", sock, 2, remote_argv ); do_remote_command( "mirror", sock, 2, remote_argv );
} }
else { else {