summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-07-19 18:27:39 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-07-19 18:27:39 +0000
commite5b61aec056c97208c4ff513e162e19703fc6164 (patch)
treea3fcd1d3d8c3f640c39076454f2e890c37308172 /usr.bin/tmux
parentd9eeeac8753d1cba5120ca3699ac68e5c5989c72 (diff)
Send the \n to stdout with the message, not stderr... doh.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 63180f82aa1..195a6db4147 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.34 2010/07/11 17:06:45 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.35 2010/07/19 18:27:38 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -695,7 +695,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);
}