From: "Daniel A. Koepke" <dkoepke@CIRCLEMUD.ORG> > On Sun, 17 Nov 2002, Mythran wrote: > > > Hmm, I hate it when ppl leave something as an exercise for the > > reader... > > These are pointers, so > > OLC_CONFIG(d) = config_info; > > is assigning the value of the pointer config_info (i.e., an address) to > OLC_CONFIG(d). This is not the same as copying the data structure; you > have one structure and two pointers to it. Perhaps you meant to do: > > *OLC_CONFIG(d) = *config_info; > > instead? > > -dak > > -- Geez, I wish it were that easy. I tried that already yet, no success :( Hmmm Mythran -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT