increase count variable while parsing in ivac_receive_info
[my-code/ivac.git] / src / ivac.c
index 4fede22..0a29f21 100644 (file)
@@ -180,6 +180,7 @@ int ivac_receive_info(int channel,t_ivac *ivac) {
                      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;