[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.42 and 1.43

version 1.42, 2010/06/28 22:10:42 version 1.43, 2010/08/22 16:09:49
Line 297 
Line 297 
                         client_exitmsg = "detached";                          client_exitmsg = "detached";
                         break;                          break;
                 case MSG_EXIT:                  case MSG_EXIT:
                         if (datalen != 0)                          if (datalen != 0 &&
                               datalen != sizeof (struct msg_exit_data))
                                 fatalx("bad MSG_EXIT size");                                  fatalx("bad MSG_EXIT size");
   
                         client_write_server(MSG_EXITING, NULL, 0);                          client_write_server(MSG_EXITING, NULL, 0);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43