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

Diff for /src/usr.bin/tmux/Attic/client-msg.c between version 1.1 and 1.2

version 1.1, 2009/06/01 22:58:49 version 1.2, 2009/06/02 11:17:03
Line 73 
Line 73 
 int  int
 client_msg_fn_error(struct hdr *hdr, struct client_ctx *cctx, char **error)  client_msg_fn_error(struct hdr *hdr, struct client_ctx *cctx, char **error)
 {  {
         if (hdr->size > SIZE_MAX - 1)          if (hdr->size == SIZE_MAX)
                 fatalx("bad MSG_ERROR size");                  fatalx("bad MSG_ERROR size");
   
         *error = xmalloc(hdr->size + 1);          *error = xmalloc(hdr->size + 1);

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