]> code.citadel.org Git - citadel.git/blobdiff - citadel/sendcommand.c
* read line-buffered, not char by char.
[citadel.git] / citadel / sendcommand.c
index a8fc4c992690de5fd3fc99b585429263d9fcb030..f0da309c76a9f296c294eb1413a40091e1dbfd83 100644 (file)
@@ -238,7 +238,7 @@ int main(int argc, char **argv)
                                n = read(ipc->sock, rbuf, SIZ);
                                if (n>0) {
                                        rbuf[n]='\0';
-                                       printf (rbuf);
+                                       fprintf (stderr, rbuf);
                                        fflush (stdout);
                                }
                        }