[Nagios-checkins] nagios/common skiplist.c,1.1,1.2
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Ethan G. <ega...@us...> - 2008-02-29 01:11:15
|
Update of /cvsroot/nagios/nagios/common In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31240/common Modified Files: skiplist.c Log Message: Skiplist code bug fix Index: skiplist.c =================================================================== RCS file: /cvsroot/nagios/nagios/common/skiplist.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** skiplist.c 28 Feb 2008 19:26:56 -0000 1.1 --- skiplist.c 29 Feb 2008 01:11:16 -0000 1.2 *************** *** 4,8 **** * * Copyright (c) 2008 Ethan Galstad ! * Last Modified: 02-24-2008 * * Notes: --- 4,8 ---- * * Copyright (c) 2008 Ethan Galstad ! * Last Modified: 02-28-2008 * * Notes: *************** *** 522,526 **** /* we found a match! (value + pointers match) */ ! if(list->compare_function(nextnode->data,data)==0 && nextnode==thenode){ /* adjust level pointers to bypass (soon to be) removed node */ --- 522,526 ---- /* we found a match! (value + pointers match) */ ! if(nextnode && list->compare_function(nextnode->data,data)==0 && nextnode==thenode){ /* adjust level pointers to bypass (soon to be) removed node */ |