Closed edwin-oetelaar closed 5 years ago
#define CHECK_SOCKNUM() \ do{ \ if(sn > _WIZCHIP_SOCK_NUM_) return SOCKERR_SOCKNUM; \ }while(0); \
I think you want this : > and >= off by one error
> and >= off by one error
#define CHECK_SOCKNUM() \ do{ \ if(sn >= _WIZCHIP_SOCK_NUM_) return SOCKERR_SOCKNUM; \ }while(0); \
Thanks, fixed. b672a2d
I think you want this :
> and >= off by one error