[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.23 and 1.24

version 1.23, 2009/09/24 14:17:09 version 1.24, 2009/10/04 10:55:30
Line 164 
Line 164 
                 c = ARRAY_ITEM(&clients, i);                  c = ARRAY_ITEM(&clients, i);
                 if (c == NULL || c->session == NULL)                  if (c == NULL || c->session == NULL)
                         continue;                          continue;
                 if (c->flags & CLIENT_SUSPENDED)  
                         continue;  
                 server_lock_client(c);                  server_lock_client(c);
         }          }
 }  }
Line 180 
Line 178 
                 c = ARRAY_ITEM(&clients, i);                  c = ARRAY_ITEM(&clients, i);
                 if (c == NULL || c->session == NULL || c->session != s)                  if (c == NULL || c->session == NULL || c->session != s)
                         continue;                          continue;
                 if (c->flags & CLIENT_SUSPENDED)  
                         continue;  
                 server_lock_client(c);                  server_lock_client(c);
         }          }
 }  }
Line 192 
Line 188 
         const char              *cmd;          const char              *cmd;
         size_t                   cmdlen;          size_t                   cmdlen;
         struct msg_lock_data     lockdata;          struct msg_lock_data     lockdata;
   
           if (c->flags & CLIENT_SUSPENDED)
                   return;
   
         cmd = options_get_string(&c->session->options, "lock-command");          cmd = options_get_string(&c->session->options, "lock-command");
         cmdlen = strlcpy(lockdata.cmd, cmd, sizeof lockdata.cmd);          cmdlen = strlcpy(lockdata.cmd, cmd, sizeof lockdata.cmd);

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24