[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.41 and 1.42

version 1.41, 2010/08/11 07:36:23 version 1.42, 2010/09/26 20:43:30
Line 405 
Line 405 
 }  }
   
 void  void
   server_check_unattached (void)
   {
           struct session  *s;
           u_int            i;
   
           /*
            * If any sessions are no longer attached and have destroy-unattached
            * set, collect them.
            */
           for (i = 0; i < ARRAY_LENGTH(&sessions); i++) {
                   s = ARRAY_ITEM(&sessions, i);
                   if (s == NULL || !(s->flags & SESSION_UNATTACHED))
                           continue;
                   if (options_get_number (&s->options, "destroy-unattached"))
                           session_destroy(s);
           }
   }
   
   void
 server_set_identify(struct client *c)  server_set_identify(struct client *c)
 {  {
         struct timeval  tv;          struct timeval  tv;

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42