@@ -5094,7 +5094,7 @@ - (void)performBlock:(dispatch_block_t)block
5094
5094
5095
5095
- (int )socketFD
5096
5096
{
5097
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5097
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5098
5098
{
5099
5099
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5100
5100
THIS_FILE, THIS_METHOD);
@@ -5109,7 +5109,7 @@ - (int)socketFD
5109
5109
5110
5110
- (int )socket4FD
5111
5111
{
5112
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5112
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5113
5113
{
5114
5114
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5115
5115
THIS_FILE, THIS_METHOD);
@@ -5121,7 +5121,7 @@ - (int)socket4FD
5121
5121
5122
5122
- (int )socket6FD
5123
5123
{
5124
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5124
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5125
5125
{
5126
5126
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5127
5127
THIS_FILE, THIS_METHOD);
@@ -5135,7 +5135,7 @@ - (int)socket6FD
5135
5135
5136
5136
- (CFReadStreamRef)readStream
5137
5137
{
5138
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5138
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5139
5139
{
5140
5140
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5141
5141
THIS_FILE, THIS_METHOD);
@@ -5159,7 +5159,7 @@ - (CFReadStreamRef)readStream
5159
5159
5160
5160
- (CFWriteStreamRef)writeStream
5161
5161
{
5162
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5162
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5163
5163
{
5164
5164
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5165
5165
THIS_FILE, THIS_METHOD);
@@ -5181,7 +5181,7 @@ - (CFWriteStreamRef)writeStream
5181
5181
5182
5182
- (BOOL )enableBackgroundingOnSockets
5183
5183
{
5184
- if (dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5184
+ if (! dispatch_get_specific (IsOnSocketQueueOrTargetQueueKey))
5185
5185
{
5186
5186
LogWarn (@" %@ : %@ - Method only available from within the context of a performBlock: invocation" ,
5187
5187
THIS_FILE, THIS_METHOD);
0 commit comments