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

Diff for /src/usr.bin/tmux/cmd-if-shell.c between version 1.48 and 1.49

version 1.48, 2016/10/16 19:04:05 version 1.49, 2017/01/15 22:00:56
Line 96 
Line 96 
                 free(shellcmd);                  free(shellcmd);
                 if (cmd == NULL)                  if (cmd == NULL)
                         return (CMD_RETURN_NORMAL);                          return (CMD_RETURN_NORMAL);
                 if (cmd_string_parse(cmd, &cmdlist, NULL, 0, &cause) != 0) {                  cmdlist = cmd_string_parse(cmd, NULL, 0, &cause);
                   if (cmdlist == NULL) {
                         if (cause != NULL) {                          if (cause != NULL) {
                                 cmdq_error(item, "%s", cause);                                  cmdq_error(item, "%s", cause);
                                 free(cause);                                  free(cause);
Line 167 
Line 168 
         if (cmd == NULL)          if (cmd == NULL)
                 goto out;                  goto out;
   
         if (cmd_string_parse(cmd, &cmdlist, file, line, &cause) != 0) {          cmdlist = cmd_string_parse(cmd, file, line, &cause);
           if (cmdlist == NULL) {
                 if (cause != NULL)                  if (cause != NULL)
                         new_item = cmdq_get_callback(cmd_if_shell_error, cause);                          new_item = cmdq_get_callback(cmd_if_shell_error, cause);
                 else                  else

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49