From 3b53d31d885be9e6e08cade8d9f7feeadc676eb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 21 May 2010 17:48:50 +0000 Subject: [PATCH] * cmd_ucls(): don't overwrite the upload type before we use it --- citadel/file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2