summaryrefslogtreecommitdiff
path: root/net/spnetkit/files/patch-testhttpcli.cpp
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2008-02-22 13:50:33 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2008-02-22 13:50:33 +0000
commit4e20dc2276fa5fc9a73bb41dc1bc9fccc8c3f097 (patch)
treeee7731ece7e93bf6c4d50371a5f65541ba4bfdd5 /net/spnetkit/files/patch-testhttpcli.cpp
parent- Updated to 2.2.20 (diff)
Add spnetkit, it's a C++ wrapper for BSD-style sockets.
Notes
Notes: svn path=/head/; revision=207752
Diffstat (limited to 'net/spnetkit/files/patch-testhttpcli.cpp')
-rw-r--r--net/spnetkit/files/patch-testhttpcli.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/spnetkit/files/patch-testhttpcli.cpp b/net/spnetkit/files/patch-testhttpcli.cpp
new file mode 100644
index 000000000000..79d6b440b907
--- /dev/null
+++ b/net/spnetkit/files/patch-testhttpcli.cpp
@@ -0,0 +1,11 @@
+--- testhttpcli.cpp.orig 2008-02-18 12:22:11.000000000 +0800
++++ testhttpcli.cpp 2008-02-18 12:24:00.000000000 +0800
+@@ -35,7 +35,7 @@
+
+ int main( int argc, char * argv[] )
+ {
+- assert ( sigset ( SIGPIPE, SIG_IGN ) != SIG_ERR ) ;
++ assert ( signal ( SIGPIPE, SIG_IGN ) != SIG_ERR ) ;
+
+ SP_NKLog::init4test( "testhttpcli" );
+ SP_NKLog::setLogLevel( LOG_DEBUG );