summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Jansa <djansa@redhat.com>2005-09-01 22:56:45 +0000
committerDean Jansa <djansa@redhat.com>2005-09-01 22:56:45 +0000
commit149e69ef7bd5f70c0ebd8286c13bdb61747655de (patch)
tree5089ab19d5f0807d9b69118708fddd44956cd14b
parent50c3163ced43d87e7c1f78559a9c00805fab3ac5 (diff)
downloadqarsh-149e69ef7bd5f70c0ebd8286c13bdb61747655de.zip
qarsh-149e69ef7bd5f70c0ebd8286c13bdb61747655de.tar.gz
qarsh-149e69ef7bd5f70c0ebd8286c13bdb61747655de.tar.xz
Fix indexing into argv[file] to grab entire file.
-rw-r--r--qarsh/qacp.c4
1 files 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);
}