diff options
Diffstat (limited to 'src/accept.c')
-rw-r--r-- | src/accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/accept.c b/src/accept.c index f102b29..150d8bd 100644 --- a/src/accept.c +++ b/src/accept.c @@ -50,7 +50,7 @@ IceAcceptConnection ( * Accept the connection. */ - if ((newconn = _IceTransAccept (listenObj->trans_conn, &status)) == 0) + if ((newconn = _IceTransAccept (listenObj->trans_conn, &status)) == NULL) { if (status == TRANS_ACCEPT_BAD_MALLOC) *statusRet = IceAcceptBadMalloc; |