[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.26 and 1.27

version 1.26, 2009/10/11 10:39:27 version 1.27, 2009/11/04 23:12:43
Line 59 
Line 59 
                 return;                  return;
         log_debug("writing %d to client %d", type, c->ibuf.fd);          log_debug("writing %d to client %d", type, c->ibuf.fd);
         imsg_compose(ibuf, type, PROTOCOL_VERSION, -1, -1, (void *) buf, len);          imsg_compose(ibuf, type, PROTOCOL_VERSION, -1, -1, (void *) buf, len);
           server_update_event(c);
 }  }
   
 void  void
Line 370 
Line 371 
                 c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR);                  c->tty.flags &= ~(TTY_FREEZE|TTY_NOCURSOR);
                 server_redraw_client(c);                  server_redraw_client(c);
         }          }
   }
   
   void
   server_update_event(struct client *c)
   {
           short   events;
   
           events = 0;
           if (!(c->flags & CLIENT_BAD))
                   events |= EV_READ;
           if (c->ibuf.w.queued > 0)
                   events |= EV_WRITE;
           event_del(&c->event);
           event_set(&c->event, c->ibuf.fd, events, server_client_callback, c);
           event_add(&c->event, NULL);
 }  }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27