aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-28 14:59:26 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-28 14:59:26 +0000
commitb42f231027bbd4d9b2e61937772bcbe1d5f38ddd (patch)
tree154bbc192825dba2dcf79218b9c9038874fb94c6 /tty.c
parentdc57c5bb50b0a0f34fec4b03fd769ad0ed339b2b (diff)
downloadrtmux-b42f231027bbd4d9b2e61937772bcbe1d5f38ddd.tar.gz
rtmux-b42f231027bbd4d9b2e61937772bcbe1d5f38ddd.tar.bz2
rtmux-b42f231027bbd4d9b2e61937772bcbe1d5f38ddd.zip
Sync OpenBSD patchset 574:
Add a couple of comments.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 1fb4a140..2a1d4b1f 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
-/* $Id: tty.c,v 1.178 2009-11-28 14:56:11 tcunha Exp $ */
+/* $Id: tty.c,v 1.179 2009-11-28 14:59:26 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -534,6 +534,7 @@ tty_write(void (*cmdfn)(
struct client *c;
u_int i;
+ /* wp can be NULL if updating the screen but not the terminal. */
if (wp == NULL)
return;