@@ -2883,7 +2883,7 @@ - (BOOL)bindToPort:(uint16_t)port interface:(NSString *)interface error:(NSError
28832883
28842884 // Create the socket(s) if needed
28852885
2886- if ((self->flags & kDidCreateSockets ) == 0 )
2886+ if ((self->flags & kDidCreateSockets ) == 0 )
28872887 {
28882888 if (![self createSocket4: useIPv4 socket6: useIPv6 error: &err])
28892889 {
@@ -2897,7 +2897,7 @@ - (BOOL)bindToPort:(uint16_t)port interface:(NSString *)interface error:(NSError
28972897
28982898 if (useIPv4)
28992899 {
2900- int status = bind (self->socket4FD , (const struct sockaddr *)[interface4 bytes ], (socklen_t )[interface4 length ]);
2900+ int status = bind (self->socket4FD , (const struct sockaddr *)[interface4 bytes ], (socklen_t )[interface4 length ]);
29012901 if (status == -1 )
29022902 {
29032903 [self closeSockets ];
@@ -2911,7 +2911,7 @@ - (BOOL)bindToPort:(uint16_t)port interface:(NSString *)interface error:(NSError
29112911
29122912 if (useIPv6)
29132913 {
2914- int status = bind (self->socket6FD , (const struct sockaddr *)[interface6 bytes ], (socklen_t )[interface6 length ]);
2914+ int status = bind (self->socket6FD , (const struct sockaddr *)[interface6 bytes ], (socklen_t )[interface6 length ]);
29152915 if (status == -1 )
29162916 {
29172917 [self closeSockets ];
@@ -2925,10 +2925,10 @@ - (BOOL)bindToPort:(uint16_t)port interface:(NSString *)interface error:(NSError
29252925
29262926 // Update flags
29272927
2928- self->flags |= kDidBind ;
2928+ self->flags |= kDidBind ;
29292929
2930- if (!useIPv4) self->flags |= kIPv4Deactivated ;
2931- if (!useIPv6) self->flags |= kIPv6Deactivated ;
2930+ if (!useIPv4) self->flags |= kIPv4Deactivated ;
2931+ if (!useIPv6) self->flags |= kIPv6Deactivated ;
29322932
29332933 result = YES ;
29342934
@@ -3238,9 +3238,9 @@ - (BOOL)connectToAddress:(NSData *)remoteAddr error:(NSError **)errPtr
32383238
32393239 // Updates flags, add connect packet to send queue, and pump send queue
32403240
3241- self->flags |= kConnecting ;
3241+ self->flags |= kConnecting ;
32423242
3243- [self ->sendQueue addObject: packet];
3243+ [self ->sendQueue addObject: packet];
32443244 [self maybeDequeueSend ];
32453245
32463246 result = YES ;
0 commit comments