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:
Johan Danielsson
2002-04-18 16:18:43 +00:00
parent 10cc0f13c6
commit fd594bd1b2

View File

@@ -743,9 +743,8 @@ sys_telnet_init(void)
#if defined(SO_OOBINLINE)
if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1) {
perror("SetSockOpt");
}
if (SetSockOpt(net, SOL_SOCKET, SO_OOBINLINE, 1) == -1)
perror("setsockopt (SO_OOBINLINE) (ignored)");
#endif /* defined(SO_OOBINLINE) */
}