Changeset 66a8cd6 for message.c


Ignore:
Timestamp:
Mar 7, 2010, 10:28:24 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
423adcb
Parents:
46d940a
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 00:33:14)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:28:24)
Message:
Copy structs without memcpy.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    ra44cd91 r66a8cd6  
    751751 
    752752  /* first save the full notice */
    753   memcpy(&(m->notice), n, sizeof(ZNotice_t));
     753  m->notice = *n;
    754754
    755755  /* a little gross, we'll replace \r's with ' ' for now */
Note: See TracChangeset for help on using the changeset viewer.