Changeset 66a8cd6 for messagelist.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
  • messagelist.c

    r5e5f08f r66a8cd6  
    8585
    8686  /* copy the new list to the old list */
    87   memcpy(&(ml->list), &newlist, sizeof(owl_list));
     87  ml->list = newlist;
    8888
    8989  return(0);
Note: See TracChangeset for help on using the changeset viewer.