|
version 1.9, 2001/08/30 06:20:40
|
version 1.10, 2001/12/03 17:04:07
|
|
|
|
| * | * |
| * This code is released under the GPL | * This code is released under the GPL |
| * | * |
| * This is emlog version 0.40, released 13 August 2001 |
* This is emlog version 0.50, released XXXX |
| * For more information see http://www.circlemud.org/~jelson/software/emlog | * For more information see http://www.circlemud.org/~jelson/software/emlog |
| * | * |
| * $Id$ | * $Id$ |
|
|
|
| vfree(einfo->data); | vfree(einfo->data); |
| | |
| /* now delete the 'einfo' structure from the linked list. 'ptr' is | /* now delete the 'einfo' structure from the linked list. 'ptr' is |
| * the pointer that needs to be changed... which is either the list |
* a pointer to the pointer that needs to be changed... which is |
| * head or one of the 'next' pointers on the list. */ |
* either the list head or one of the 'next' pointers on the |
| |
* list. */ |
| ptr = &emlog_info_list; | ptr = &emlog_info_list; |
| while (*ptr != einfo) { | while (*ptr != einfo) { |
| if (!*ptr) { | if (!*ptr) { |
|
|
|
| break; | break; |
| } else | } else |
| ptr = &((**ptr).next); | ptr = &((**ptr).next); |
| |
|
| } | } |
| *ptr = einfo->next; | *ptr = einfo->next; |
| | |
| |
/* now free einfo itself */ |
| |
kfree(einfo); |
| } | } |
| | |
| | |