summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-27 09:41:03 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-27 09:41:03 +0000
commit2182e1badcc161c6e6f1ef6dec21a57cc510299e (patch)
treeb1614b50954f5c9a59b3f11a22c0bf8fabb7cb3f /tty.c
parent106ee8f30a27d60aa4e113e17ba48792cfc64e50 (diff)
Add a couple of comments.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index 1ed965ff..07b744cb 100644
--- a/tty.c
+++ b/tty.c
@@ -529,6 +529,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;