From e712ffc9800fed49d06fc4ec124ef72ecd0e8a35 Mon Sep 17 00:00:00 2001 From: ricardob Date: Thu, 2 Jul 1998 23:42:42 +0000 Subject: [PATCH] fix for free moz in unix --- network/protocol/certld/mkcertld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/protocol/certld/mkcertld.c b/network/protocol/certld/mkcertld.c index 3a618cf010a..bd736993b0d 100644 --- a/network/protocol/certld/mkcertld.c +++ b/network/protocol/certld/mkcertld.c @@ -68,14 +68,12 @@ net_ProcessCertLdap(ActiveEntry *ce) CertLdapConnData *connData; connData = (CertLdapConnData *)ce->con_data; -#endif #ifdef XP_UNIX NET_ClearConnectSelect(ce->window_id, connData->fd); NET_SetReadSelect(ce->window_id, connData->fd); #endif -#ifdef MOZ_SECURITY err = SECNAV_CertLdapProcess(connData); #endif if ( err ) { @@ -112,7 +110,9 @@ net_InterruptCertLdap(ActiveEntry *ce) ce->status = MK_INTERRUPTED; #ifdef XP_UNIX +#ifdef MOZ_SECURITY NET_ClearReadSelect(ce->window_id, connData->fd); +#endif NET_TotalNumberOfOpenConnections--; #else NET_ClearCallNetlibAllTheTime(ce->window_id, "mkcertld");