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

This commit is contained in:
hsu 2002-06-09 03:57:34 +00:00
parent 43c80bddb5
commit 6fd48a951d

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