[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.7 and 1.8

version 1.7, 2009/11/13 19:53:29 version 1.8, 2010/07/11 17:06:45
Line 104 
Line 104 
 {  {
         struct cmd_if_shell_data        *cdata = data;          struct cmd_if_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