From: Wilfried Göesgens Date: Fri, 21 May 2010 17:48:50 +0000 (+0000) Subject: * cmd_ucls(): don't overwrite the upload type before we use it X-Git-Tag: v7.86~194 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3b53d31d885be9e6e08cade8d9f7feeadc676eb3 * cmd_ucls(): don't overwrite the upload type before we use it --- diff --git a/citadel/file_ops.c b/citadel/file_ops.c index f303ac28c..ada1a7814 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -580,7 +580,6 @@ void cmd_ucls(char *cmd) CC->upload_fp = NULL; if ((!strcasecmp(cmd, "1")) && (CC->upload_type != UPL_FILE)) { - CC->upload_type = UPL_FILE; cprintf("%d Upload completed.\n", CIT_OK); if (CC->upload_type == UPL_NET) { @@ -605,6 +604,7 @@ void cmd_ucls(char *cmd) /* FIXME ... here we need to trigger a network run */ } + CC->upload_type = UPL_FILE; return; }