From fd594bd1b2f53fd157429bcdfc934029e3f75447 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 18 Apr 2002 16:18:43 +0000 Subject: [PATCH] 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 --- appl/telnet/telnet/sys_bsd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appl/telnet/telnet/sys_bsd.c b/appl/telnet/telnet/sys_bsd.c index 167a6d73b..f848e3174 100644 --- a/appl/telnet/telnet/sys_bsd.c +++ b/appl/telnet/telnet/sys_bsd.c @@ -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) */ }