* Remove calls to the broken flush_output() while I try to figure out what's
[citadel.git] / citadel / serv_vcard.c
index af22b3fda2f44a4997dd47c76d42bb37cfaa54d6..1ce0b931716d01edacf4f3af6b076d26d5b3870b 100644 (file)
@@ -548,6 +548,8 @@ void cmd_regi(char *argbuf) {
        char tmpaddress[SIZ];
        char tmpcountry[SIZ];
 
+       unbuffer_output();
+
        if (!(CC->logged_in)) {
                cprintf("%d Not logged in.\n",ERROR + NOT_LOGGED_IN);
                return;
@@ -561,7 +563,6 @@ void cmd_regi(char *argbuf) {
        strcpy(tmpcountry, "USA");
 
        cprintf("%d Send registration...\n", SEND_LISTING);
-       flush_output();
        a=0;
        while (client_gets(buf), strcmp(buf,"000")) {
                if (a==0) vcard_set_prop(my_vcard, "n", buf, 0);