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

Diff for /src/usr.bin/tmux/control.c between version 1.1 and 1.2

version 1.1, 2012/06/18 13:16:42 version 1.2, 2012/07/10 11:53:01
Line 20 
Line 20 
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <event.h>  #include <event.h>
   #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
 #include "tmux.h"  #include "tmux.h"
Line 110 
Line 111 
                 if (cmd_string_parse(line, &cmdlist, &cause) != 0) {                  if (cmd_string_parse(line, &cmdlist, &cause) != 0) {
                         control_write(c, "%%error in line \"%s\": %s", line,                          control_write(c, "%%error in line \"%s\": %s", line,
                             cause);                              cause);
                         xfree(cause);                          free(cause);
                 } else {                  } else {
                         cmd_list_exec(cmdlist, &ctx);                          cmd_list_exec(cmdlist, &ctx);
                         cmd_list_free(cmdlist);                          cmd_list_free(cmdlist);
                 }                  }
   
                 xfree(line);                  free(line);
         }          }
 }  }

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