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

Diff for /src/usr.bin/tmux/server.c between version 1.5 and 1.6

version 1.5, 2009/06/26 22:12:19 version 1.6, 2009/07/07 19:49:19
Line 373 
Line 373 
         unlink(socket_path);          unlink(socket_path);
         xfree(socket_path);          xfree(socket_path);
   
         options_free(&global_options);          options_free(&global_s_options);
         options_free(&global_window_options);          options_free(&global_w_options);
         if (server_password != NULL)          if (server_password != NULL)
                 xfree(server_password);                  xfree(server_password);
   
Line 573 
Line 573 
         yy = c->tty.sy - 1;          yy = c->tty.sy - 1;
         if (xx == 0 || yy == 0)          if (xx == 0 || yy == 0)
                 return;                  return;
         colour = options_get_number(          colour = options_get_number(&global_w_options, "clock-mode-colour");
             &global_window_options, "clock-mode-colour");          style = options_get_number(&global_w_options, "clock-mode-style");
         style = options_get_number(  
             &global_window_options, "clock-mode-style");  
   
         screen_init(&screen, xx, yy, 0);          screen_init(&screen, xx, yy, 0);
   
Line 1062 
Line 1060 
         time_t                   t;          time_t                   t;
   
         t = time(NULL);          t = time(NULL);
         xtimeout = options_get_number(&global_options, "lock-after-time");          xtimeout = options_get_number(&global_s_options, "lock-after-time");
         if (xtimeout > 0 && t > server_activity + xtimeout)          if (xtimeout > 0 && t > server_activity + xtimeout)
                 server_lock();                  server_lock();
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6