]> code.citadel.org Git - citadel.git/blobdiff - citadel/control.c
* Remove calls to the broken flush_output() while I try to figure out what's
[citadel.git] / citadel / control.c
index 86f907cde9aa3f0f65d811781f7d50a52a679065..93e5324d0e6b2dd60f58a34de23a57837d76eb3a 100644 (file)
@@ -214,8 +214,8 @@ void cmd_conf(char *argbuf)
        }
 
        else if (!strcasecmp(cmd, "SET")) {
+               unbuffer_output();
                cprintf("%d Send configuration...\n", SEND_LISTING);
-               flush_output();
                a = 0;
                while (client_gets(buf), strcmp(buf, "000")) {
                        switch (a) {
@@ -403,8 +403,8 @@ void cmd_conf(char *argbuf)
 
        else if (!strcasecmp(cmd, "PUTSYS")) {
                extract(confname, argbuf, 1);
+               unbuffer_output();
                cprintf("%d %s\n", SEND_LISTING, confname);
-               flush_output();
                confptr = CtdlReadMessageBody("000",
                                config.c_maxmsglen, NULL, 0);
                CtdlPutSysConfig(confname, confptr);