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

Diff for /src/usr.bin/tmux/client.c between version 1.82 and 1.83

version 1.82, 2014/07/21 10:52:48 version 1.83, 2014/09/01 21:50:18
Line 311 
Line 311 
   
                 /* Prepare command for server. */                  /* Prepare command for server. */
                 data->argc = argc;                  data->argc = argc;
                 if (cmd_pack_argv(argc, argv, (char*)(data + 1), size) != 0) {                  if (cmd_pack_argv(argc, argv, (char *)(data + 1), size) != 0) {
                         fprintf(stderr, "command too long\n");                          fprintf(stderr, "command too long\n");
                         free(data);                          free(data);
                         return (1);                          return (1);
Line 393 
Line 393 
         int     retval;          int     retval;
   
         retval = imsg_compose(&client_ibuf, type, PROTOCOL_VERSION, -1, fd,          retval = imsg_compose(&client_ibuf, type, PROTOCOL_VERSION, -1, fd,
             (void*)buf, len);              (void *)buf, len);
         if (retval != 1)          if (retval != 1)
                 return (-1);                  return (-1);
         return (0);          return (0);

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83