Sync OpenBSD patchset 737:

Send the \n to stdout with the message, not stderr... doh.
This commit is contained in:
Tiago Cunha 2010-07-20 17:36:03 +00:00
parent 11497af4dd
commit 7ed9b0f8fb

View File

@ -1,4 +1,4 @@
/* $Id: server-client.c,v 1.35 2010-07-17 14:36:40 tcunha Exp $ */
/* $Id: server-client.c,v 1.36 2010-07-20 17:36:03 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@ -694,7 +694,7 @@ server_client_msg_info(struct cmd_ctx *ctx, const char *fmt, ...)
vfprintf(ctx->cmdclient->stdout_file, fmt, ap);
va_end(ap);
fputc('\n', ctx->cmdclient->stderr_file);
fputc('\n', ctx->cmdclient->stdout_file);
fflush(ctx->cmdclient->stdout_file);
}