List client command.

This commit is contained in:
Nicholas Marriott
2007-10-23 09:36:19 +00:00
parent 98e7e79e4c
commit 25e94a0526
9 changed files with 89 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $Id: server-msg.c,v 1.27 2007-10-12 17:50:33 nicm Exp $ */
/* $Id: server-msg.c,v 1.28 2007-10-23 09:36:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -160,6 +160,9 @@ server_msg_fn_identify(struct hdr *hdr, struct client *c)
c->sx = data.sx;
c->sy = data.sy;
data.tty[(sizeof data.tty) - 1] = '\0';
c->tty = xstrdup(data.tty);
c->flags |= CLIENT_TERMINAL;
return (0);