From 6358de939b96a0db22bdc151a9f30e22e9de3a06 Mon Sep 17 00:00:00 2001 From: jwise Date: Fri, 13 Oct 2000 18:59:30 +0000 Subject: Fix an obvious syntax error in patch-ae. People should *really* test code before committing it. _Especially_ in packages which they are not the maintainer of... --- net/tcl-scotty/files/patch-sum | 4 ++-- net/tcl-scotty/patches/patch-ae | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'net/tcl-scotty') diff --git a/net/tcl-scotty/files/patch-sum b/net/tcl-scotty/files/patch-sum index 4eadd658b32..0f6eec16085 100644 --- a/net/tcl-scotty/files/patch-sum +++ b/net/tcl-scotty/files/patch-sum @@ -1,7 +1,7 @@ -$NetBSD: patch-sum,v 1.2 2000/10/02 19:27:53 he Exp $ +$NetBSD: patch-sum,v 1.3 2000/10/13 18:59:30 jwise Exp $ MD5 (patch-aa) = 0609f277cf042b83dcd88f71cee32cb9 MD5 (patch-ab) = 208030196224c8d778a0fd7b85c7c3dd MD5 (patch-ac) = 7b8b4aa176cb87ef9ef2d08399f5ca9f MD5 (patch-ad) = d94ffd64f935a5e4531324d8c0d00050 -MD5 (patch-ae) = f83f4b94c298e36ae22704ee6072dd85 +MD5 (patch-ae) = 013d7afc29800fb604a6ea6a1510bc5e diff --git a/net/tcl-scotty/patches/patch-ae b/net/tcl-scotty/patches/patch-ae index 00052094156..3bf70dff1f9 100644 --- a/net/tcl-scotty/patches/patch-ae +++ b/net/tcl-scotty/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.1 2000/10/02 19:27:54 he Exp $ +$NetBSD: patch-ae,v 1.2 2000/10/13 18:59:31 jwise Exp $ --- tnmUnixSocket.c.orig Wed Sep 18 23:37:21 1996 +++ tnmUnixSocket.c Mon Oct 2 21:07:45 2000 @@ -16,7 +16,7 @@ $NetBSD: patch-ae,v 1.1 2000/10/02 19:27:54 he Exp $ { int s = socket(domain, type, protocol); - return (s < 0) ? TNM_SOCKET_ERROR : s; -+ return (s < 0) { ++ if (s < 0) { + return TNM_SOCKET_ERROR; + } +#ifdef O_NONBLOCK -- cgit v1.2.3