Fix bug which has been there since rev 1.1 where && was used instead of &.

This commit is contained in:
Jeffrey Hsu 2002-06-09 03:57:34 +00:00
parent cc966ea4bc
commit 33c7d9aaba

View File

@ -449,7 +449,7 @@ register struct spidp *si;
} /* else queue this packet; */
} else {
/*register struct socket *so = cb->s_nspcb->nsp_socket;
if (so->so_state && SS_NOFDREF) {
if (so->so_state & SS_NOFDREF) {
ns_error(dtom(si), NS_ERR_NOSOCK, 0);
(void)spp_close(cb);
} else