Print this page
3910 t_look(3NSL) should never return T_ERROR
*** 23,32 ****
--- 23,33 ----
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2014 Gary Mills
*/
/*
* Network SNDR/ncall-ip server - based on nfsd
*/
*** 1276,1288 ****
if (!is_listen_fd_index(fd))
break;
else
goto fdclose;
- case T_ERROR:
default:
! if (event == T_ERROR || t_errno == TSYSERR) {
if ((errorstr = strerror(errno)) == NULL) {
(void) snprintf(buf, sizeof (buf),
"Unknown error num %d", errno);
errorstr = (const char *)buf;
}
--- 1277,1288 ----
if (!is_listen_fd_index(fd))
break;
else
goto fdclose;
default:
! if (t_errno == TSYSERR) {
if ((errorstr = strerror(errno)) == NULL) {
(void) snprintf(buf, sizeof (buf),
"Unknown error num %d", errno);
errorstr = (const char *)buf;
}