[BACK]Return to server-fn.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-fn.c between version 1.47 and 1.48

version 1.47, 2010/12/21 22:37:59 version 1.48, 2010/12/23 21:56:38
Line 239 
Line 239 
 void  void
 server_kill_window(struct window *w)  server_kill_window(struct window *w)
 {  {
         struct session  *s;          struct session  *s, *next_s;
         struct winlink  *wl;          struct winlink  *wl;
   
         RB_FOREACH(s, sessions, &sessions) {          next_s = RB_MIN(sessions, &sessions);
           while (next_s != NULL) {
                   s = next_s;
                   next_s = RB_NEXT(sessions, &sessions, s);
   
                 if (session_has(s, w) == NULL)                  if (session_has(s, w) == NULL)
                         continue;                          continue;
                 while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {                  while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48