diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-27 09:15:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-27 09:15:58 +0000 |
commit | 3fa8f1636486420b9f27b129dbd0f36015d4c24b (patch) | |
tree | c018e47c9eb2d78f518a941e7cd87ebe2eb63ab9 /server.c | |
parent | 187648e8d1d6bc80113e829d7895e1c81ddd3c17 (diff) | |
download | rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.tar.gz rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.tar.bz2 rtmux-3fa8f1636486420b9f27b129dbd0f36015d4c24b.zip |
Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.14 2007-09-26 18:09:23 nicm Exp $ */ +/* $Id: server.c,v 1.15 2007-09-27 09:15:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -321,6 +321,8 @@ server_lost_window(struct window *w) u_int i, j; int destroyed; + log_debug("lost window %d", w->fd); + for (i = 0; i < ARRAY_LENGTH(&sessions); i++) { s = ARRAY_ITEM(&sessions, i); if (s == NULL) |