diff options
-rw-r--r-- | src/accept.c | 2 | ||||
-rw-r--r-- | src/authutil.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/src/authutil.c b/src/authutil.c index 65d256f..2191f06 100644 --- a/src/authutil.c +++ b/src/authutil.c @@ -441,7 +441,7 @@ read_counted_string (FILE *file, unsigned short *countp, char **stringp) if (len == 0) { - data = 0; + data = NULL; } else { |