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

Diff for /src/usr.bin/tmux/cmd-queue.c between version 1.2 and 1.3

version 1.2, 2013/03/25 10:05:00 version 1.3, 2013/03/25 10:06:13
Line 183 
Line 183 
         struct cmd_q_item       *next;          struct cmd_q_item       *next;
         enum cmd_retval          retval;          enum cmd_retval          retval;
         int                      guards, empty;          int                      guards, empty;
           char                     s[1024];
   
         guards = 0;          guards = 0;
         if (c != NULL && c->session != NULL)          if (c != NULL && c->session != NULL)
Line 204 
Line 205 
                 next = TAILQ_NEXT(cmdq->item, qentry);                  next = TAILQ_NEXT(cmdq->item, qentry);
   
                 while (cmdq->cmd != NULL) {                  while (cmdq->cmd != NULL) {
                           cmd_print(cmdq->cmd, s, sizeof s);
                           log_debug("cmdq %p: %s (client %d)", cmdq, s,
                               cmdq->client != NULL ? cmdq->client->ibuf.fd : -1);
   
                         if (guards)                          if (guards)
                                 cmdq_print(cmdq, "%%begin");                                  cmdq_print(cmdq, "%%begin");
                         retval = cmdq->cmd->entry->exec(cmdq->cmd, cmdq);                          retval = cmdq->cmd->entry->exec(cmdq->cmd, cmdq);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3