version 1.39 | | version 1.40 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.39 2003/09/13 05:01:30 mwedel Exp $"; | | * "$Id: treasure.c,v 1.40 2003/09/15 06:12:49 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
evtp->next = (event *)malloc(sizeof(event)); | | evtp->next = (event *)malloc(sizeof(event)); |
} | | } |
} | | } |
| | 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); |
| | |
if (evt->options) | | if (evt->options) |
evt2->options = add_refcount(evt->options); | | evt2->options = add_refcount(evt->options); |
| | else |
| | evt2->options = NULL; |
} | | } |
} | | } |
} | | } |