Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 124107b

Browse files
committed
reverse sense of PyMac_Idle test
1 parent 5510dc2 commit 124107b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Unsupported/mactcp/mactcpmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ tcps_wait(self, args)
358358
if (!newgetargs(args, ""))
359359
return NULL;
360360
while ( self->async_busy ) {
361-
if ( !PyMac_Idle() ) {
361+
if ( PyMac_Idle() ) {
362362
INCREF(None);
363363
return None;
364364
}

0 commit comments

Comments
 (0)