summaryrefslogtreecommitdiff
path: root/inputmethod/unicon-im/patches/patck-al
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/unicon-im/patches/patck-al')
-rw-r--r--inputmethod/unicon-im/patches/patck-al22
1 files changed, 22 insertions, 0 deletions
diff --git a/inputmethod/unicon-im/patches/patck-al b/inputmethod/unicon-im/patches/patck-al
new file mode 100644
index 00000000000..ccc03d2af5f
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patck-al
@@ -0,0 +1,22 @@
+$NetBSD: patck-al,v 1.1 2007/03/24 16:04:56 joerg Exp $
+
+--- server/TLS_TcpipMain.cpp.orig 2000-06-14 04:00:01.000000000 +0000
++++ server/TLS_TcpipMain.cpp
+@@ -91,7 +91,7 @@ static void *handler(void *_arg)
+ printf ("========== Begin New Client Socket =========== \n");
+ /* read request */
+ while (bExit == 0) {
+- n = MyTLS_CPthSocket.read (caLine, MAXREQLINE);
++ n = MyTLS_CPthSocket.socket_read (caLine, MAXREQLINE);
+ if (n < 0) {
+ fprintf(stderr, "read error: errno=%d\n", errno);
+ close(fd);
+@@ -237,7 +237,7 @@ static void *handler(void *_arg)
+ }
+ /* simulate a little bit of processing ;) */
+ pth_yield (NULL);
+- n = MyTLS_CPthSocket.write (MemOut->pGetBuf (), MemOut->GetBufLen());
++ n = MyTLS_CPthSocket.socket_write (MemOut->pGetBuf (), MemOut->GetBufLen());
+ //pth_write(fd, MemOut->pGetBuf (), MemOut->GetBufLen());
+ }
+ /* close connection and let thread die */