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){
80
80
sock_size = sizeof (sockaddr_in6);
81
81
} else
82
82
#endif
83
- if ( 1 ) {
83
+ {
84
84
struct sockaddr_in *tmpaddr = (struct sockaddr_in *)&serveraddr;
85
85
memset ((char *) tmpaddr, 0 , sizeof (struct sockaddr_in ));
86
86
tmpaddr->sin_family = AF_INET;
@@ -127,7 +127,7 @@ uint8_t WiFiUDP::beginMulticast(IPAddress a, uint16_t p){
127
127
}
128
128
} else
129
129
#endif
130
- if ( 1 ) {
130
+ {
131
131
struct ip_mreq mreq;
132
132
mreq.imr_multiaddr .s_addr = (in_addr_t )a;
133
133
mreq.imr_interface .s_addr = INADDR_ANY;
@@ -173,7 +173,7 @@ void WiFiUDP::stop(){
173
173
}
174
174
} else
175
175
#endif
176
- if ( 1 ) {
176
+ {
177
177
struct ip_mreq mreq;
178
178
mreq.imr_multiaddr .s_addr = (in_addr_t )multicast_ip;
179
179
mreq.imr_interface .s_addr = (in_addr_t )0 ;
You can’t perform that action at this time.
0 commit comments