1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-28 04:46:17 +00:00

Fixed up bad test during unregistering of services.

This commit is contained in:
Alexander Barton 2003-03-27 01:24:32 +00:00
parent 24df40eca7
commit 9ab97b29ae

View File

@ -17,7 +17,7 @@
#ifdef RENDEZVOUS
static char UNUSED id[] = "$Id: rendezvous.c,v 1.1 2003/02/23 12:02:26 alex Exp $";
static char UNUSED id[] = "$Id: rendezvous.c,v 1.2 2003/03/27 01:24:32 alex Exp $";
#include "imp.h"
#include <assert.h>
@ -154,7 +154,7 @@ GLOBAL VOID Rendezvous_UnregisterListeners( VOID )
for( i = 0; i < MAX_RENDEZVOUS; i++ )
{
if( strchr( My_Rendezvous[i].Desc, '.' )) Unregister( i );
if( My_Rendezvous[i].Discovery_Ref ) Unregister( i );
}
} /* Rendezvous_UnregisterListeners */