From 1d24c5371e02647c8eeb4dc00ec6d667d169faa7 Mon Sep 17 00:00:00 2001 From: hackbard Date: Tue, 11 May 2004 07:54:19 +0000 Subject: [PATCH] also memset challenger struct when receiving quit --- src/ivac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ivac.c b/src/ivac.c index 0108131..4fede22 100644 --- a/src/ivac.c +++ b/src/ivac.c @@ -179,6 +179,7 @@ int ivac_receive_info(int channel,t_ivac *ivac) { event_math(ivac->net.connection[channel].fd,&(ivac->event), READ,REMOVE); network_close(&(ivac->net),channel); + memset(&(ivac->challenger[channel]),0,sizeof(t_challenger)); default: puts("[ivac] ivac_receive_info, unknown character"); return ERROR; -- 2.39.2