Skip to content

Commit d080625

Browse files
committed
Fixed robbiehanson#154. GCDAsyncSocket: fixed typo in if statement (& was used instead of &&).
1 parent a9a5357 commit d080625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GCD/GCDAsyncSocket.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5627,7 +5627,7 @@ - (void)doWriteData
56275627
// We were unable to finish writing the data,
56285628
// so we're waiting for another callback to notify us of available space in the lower-level output buffer.
56295629

5630-
if (!waiting & !error)
5630+
if (!waiting && !error)
56315631
{
56325632
// This would be the case if our write was able to accept some data, but not all of it.
56335633

0 commit comments

Comments
 (0)