projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbf4356
)
* cmd_ucls(): don't overwrite the upload type before we use it
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 21 May 2010 17:48:50 +0000
(17:48 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 21 May 2010 17:48:50 +0000
(17:48 +0000)
citadel/file_ops.c
patch
|
blob
|
history
diff --git
a/citadel/file_ops.c
b/citadel/file_ops.c
index f303ac28c857904b9060e2a8e9aeff80173b8978..ada1a78141a11a6e7ee583e5c12885091872531b 100644
(file)
--- 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;
}