be more informative in the error message if SO_OOBINLINE fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10941 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -743,9 +743,8 @@ sys_telnet_init(void)
|
|||||||
|
|
||||||
|
|
||||||
#if defined(SO_OOBINLINE)
|
#if defined(SO_OOBINLINE)
|
||||||
if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1) {
|
if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1)
|
||||||
perror("SetSockOpt");
|
perror("setsockopt (SO_OOBINLINE) (ignored)");
|
||||||
}
|
|
||||||
#endif /* defined(SO_OOBINLINE) */
|
#endif /* defined(SO_OOBINLINE) */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user