version 1.40 | | version 1.41 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.40 2003/09/15 06:12:49 mwedel Exp $"; | | * "$Id: treasure.c,v 1.41 2003/09/16 04:21:02 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
op->msg = add_refcount(change->msg); | | op->msg = add_refcount(change->msg); |
} | | } |
/* GROS: Added support for event_... in artifact file */ | | /* GROS: Added support for event_... in artifact file */ |
for(j=0;j<20;j++) { | | for(j=0;j<NR_EVENTS;j++) { |
event *evt; | | event *evt; |
event *evt2; | | event *evt2; |
event *evtn; | | event *evtn; |
| | |
evt2->next = NULL; | | evt2->next = NULL; |
evt2->hook = add_refcount(evt->hook); | | evt2->hook = add_refcount(evt->hook); |
evt2->plugin = add_refcount(evt->plugin); | | evt2->plugin = add_refcount(evt->plugin); |
| | evt2->type = j; |
| | |
if (evt->options) | | if (evt->options) |
evt2->options = add_refcount(evt->options); | | evt2->options = add_refcount(evt->options); |