From 149e69ef7bd5f70c0ebd8286c13bdb61747655de Mon Sep 17 00:00:00 2001 From: Dean Jansa Date: Thu, 1 Sep 2005 22:56:45 +0000 Subject: Fix indexing into argv[file] to grab entire file. --- qarsh/qacp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qarsh/qacp.c b/qarsh/qacp.c index b404482..495d613 100644 --- a/qarsh/qacp.c +++ b/qarsh/qacp.c @@ -271,10 +271,10 @@ sendfiles(char **argv, int argc, short recursive, short quiet) } if (!quiet) { - printf("%-20.20s -> %s:%s\n", file[argv], rhost, destpath); + printf("%-40.40s -> %s:%s\n", argv[file], rhost, destpath); } - qacp_sendonefile(rhost, file[argv], destpath); + qacp_sendonefile(rhost, argv[file], destpath); free(destpath); } -- cgit