(file) Return to emlog.c CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / misc / emlog

Diff for /misc/emlog/emlog.c between version 1.9 and 1.10

version 1.9, 2001/08/30 06:20:40 version 1.10, 2001/12/03 17:04:07
Line 6 
Line 6 
  *  *
  * 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$
Line 134 
Line 134 
   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) {
Line 143 
Line 144 
       break;       break;
     } else     } else
     ptr = &((**ptr).next);     ptr = &((**ptr).next);
   
   }   }
   *ptr = einfo->next;   *ptr = einfo->next;
  
     /* now free einfo itself */
     kfree(einfo);
 } }
  
  


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CENS CVS Mailing List
Powered by
ViewCVS 0.9.2