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

Diff for /src/usr.bin/tmux/cmd-run-shell.c between version 1.7 and 1.8

version 1.7, 2010/05/25 20:05:25 version 1.8, 2010/07/11 17:06:45
Line 131 
Line 131 
 {  {
         struct cmd_run_shell_data       *cdata = data;          struct cmd_run_shell_data       *cdata = data;
         struct cmd_ctx                  *ctx = &cdata->ctx;          struct cmd_ctx                  *ctx = &cdata->ctx;
           struct msg_exit_data             exitdata;
   
         if (ctx->cmdclient != NULL) {          if (ctx->cmdclient != NULL) {
                 ctx->cmdclient->references--;                  ctx->cmdclient->references--;
                 server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);                  exitdata.retcode = ctx->cmdclient->retcode;
                   server_write_client(
                       ctx->cmdclient, MSG_EXIT, &exitdata, sizeof exitdata);
         }          }
         if (ctx->curclient != NULL)          if (ctx->curclient != NULL)
                 ctx->curclient->references--;                  ctx->curclient->references--;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8