File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ uint8_t WiFiUDP::begin(IPAddress address, uint16_t port){
8080 sock_size = sizeof (sockaddr_in6);
8181 } else
8282#endif
83- if ( 1 ) {
83+ {
8484 struct sockaddr_in *tmpaddr = (struct sockaddr_in *)&serveraddr;
8585 memset ((char *) tmpaddr, 0 , sizeof (struct sockaddr_in ));
8686 tmpaddr->sin_family = AF_INET;
@@ -127,7 +127,7 @@ uint8_t WiFiUDP::beginMulticast(IPAddress a, uint16_t p){
127127 }
128128 } else
129129#endif
130- if ( 1 ) {
130+ {
131131 struct ip_mreq mreq;
132132 mreq.imr_multiaddr .s_addr = (in_addr_t )a;
133133 mreq.imr_interface .s_addr = INADDR_ANY;
@@ -173,7 +173,7 @@ void WiFiUDP::stop(){
173173 }
174174 } else
175175#endif
176- if ( 1 ) {
176+ {
177177 struct ip_mreq mreq;
178178 mreq.imr_multiaddr .s_addr = (in_addr_t )multicast_ip;
179179 mreq.imr_interface .s_addr = (in_addr_t )0 ;
You can’t perform that action at this time.
0 commit comments