summaryrefslogtreecommitdiffstats
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 00:02:10 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 00:02:10 +0000
commit815815989a103cda0d88fa0670b774b1e3530509 (patch)
tree0cac62ac40cd80d30e5dec2ed61877b43bdb7944 /server-msg.c
parent7ba01f68437e43538da1c7be96140709ddb00d77 (diff)
Next/last/previous window, some other tweaks.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server-msg.c b/server-msg.c
index 1a67e28a..3352970a 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -1,4 +1,4 @@
-/* $Id: server-msg.c,v 1.21 2007-10-03 23:32:26 nicm Exp $ */
+/* $Id: server-msg.c,v 1.22 2007-10-04 00:02:10 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -123,7 +123,7 @@ server_msg_fn_command(struct hdr *hdr, struct client *c)
else {
ctx.session = server_find_sessid(&data.sid, &cause);
if (ctx.session == NULL) {
- server_write_error(c, "%s", cause);
+ server_msg_fn_command_error(&ctx, "%s", cause);
xfree(cause);
return (0);
}
@@ -212,7 +212,7 @@ server_msg_fn_keys(struct hdr *hdr, struct client *c)
fatalx("bad MSG_KEYS size");
if (c->flags & CLIENT_HOLD) {
- server_draw_client(c);
+ server_redraw_client(c);
c->flags &= ~CLIENT_HOLD;
}