X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=src%2Fivac.c;h=0a29f21aaa9e415e9078f211f04f9ae0c91562fd;hb=058fbd5c5879ffb26116276966465165b2fae19b;hp=0108131e4a9e9e2ad3b5ab5e646fddbfeb2510bb;hpb=b5512e7ee393a12bffc0b3fecabe515a2964c26b;p=my-code%2Fivac.git diff --git a/src/ivac.c b/src/ivac.c index 0108131..0a29f21 100644 --- a/src/ivac.c +++ b/src/ivac.c @@ -179,6 +179,8 @@ 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)); + count+=6; default: puts("[ivac] ivac_receive_info, unknown character"); return ERROR;