From 001e61af744859b1663f400b62da35abd5941113 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 10 Dec 2016 18:51:23 +1000 Subject: [PATCH] Fixes for external protocols part 2 --- files.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/files.c b/files.c index 7c090ab..6cba91e 100644 --- a/files.c +++ b/files.c @@ -378,7 +378,18 @@ int do_download(struct user_record *user, char *file) { download_command[bpos] = '\0'; } } - + argc = 1; + last_char_space = 0; + for (i=0;i