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

Diff for /src/usr.bin/tmux/Attic/server-window.c between version 1.18 and 1.19

version 1.18, 2010/12/06 22:51:02 version 1.19, 2010/12/21 22:37:59
Line 38 
Line 38 
         struct winlink          *wl;          struct winlink          *wl;
         struct window_pane      *wp;          struct window_pane      *wp;
         struct session          *s;          struct session          *s;
         u_int                    i, j;          u_int                    i;
   
         for (i = 0; i < ARRAY_LENGTH(&windows); i++) {          for (i = 0; i < ARRAY_LENGTH(&windows); i++) {
                 w = ARRAY_ITEM(&windows, i);                  w = ARRAY_ITEM(&windows, i);
                 if (w == NULL)                  if (w == NULL)
                         continue;                          continue;
   
                 for (j = 0; j < ARRAY_LENGTH(&sessions); j++) {                  RB_FOREACH(s, sessions, &sessions) {
                         s = ARRAY_ITEM(&sessions, j);  
                         if (s == NULL)  
                                 continue;  
                         wl = session_has(s, w);                          wl = session_has(s, w);
                         if (wl == NULL)                          if (wl == NULL)
                                 continue;                                  continue;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19