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

Diff for /src/usr.bin/tmux/cmd-find.c between version 1.50 and 1.51

version 1.50, 2017/04/21 22:23:24 version 1.51, 2017/04/22 10:22:39
Line 953 
Line 953 
         const char              *session, *window, *pane;          const char              *session, *window, *pane;
         int                      window_only = 0, pane_only = 0;          int                      window_only = 0, pane_only = 0;
   
           /* Can fail flag implies quiet. */
           if (flags & CMD_FIND_CANFAIL)
                   flags |= CMD_FIND_QUIET;
   
         /* Log the arguments. */          /* Log the arguments. */
         if (target == NULL)          if (target == NULL)
                 log_debug("%s: target none, type %d", __func__, type);                  log_debug("%s: target none, type %d", __func__, type);
Line 1190 
Line 1194 
         log_debug("%s: error", __func__);          log_debug("%s: error", __func__);
   
         free(copy);          free(copy);
           if (flags & CMD_FIND_CANFAIL)
                   return (0);
         return (-1);          return (-1);
   
 found:  found:

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51