summaryrefslogtreecommitdiff
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-21 15:00:41 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:41 -0500
commit0c588813f0d7961a2176926094a0fe4a407c46ba (patch)
tree0286b69b0e5d1eb8668ddc33c0cd457d8d5037d2 /libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff
parent0384ae1d8559510444347cc44e536344705ae387 (diff)
downloadslackbuilds-0c588813f0d7961a2176926094a0fe4a407c46ba.tar.gz
libraries/libvmime-zarafa: Removed (build failure)
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff')
-rw-r--r--libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff28
1 files changed, 0 insertions, 28 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff
deleted file mode 100644
index 1a1f590679..0000000000
--- a/libraries/libvmime-zarafa/zarafa-patches/vmime-socket-tcp-nodelay.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- libvmime-0.7.1.orig/src/platforms/posix/posixSocket.cpp 2005-03-18 22:26:49.000000000 +0100
-+++ libvmime-0.7.1.patched/src/platforms/posix/posixSocket.cpp 2009-03-27 10:51:06.405594549 +0100
-@@ -24,6 +24,7 @@
- #include <arpa/inet.h>
- #include <sys/types.h>
- #include <netinet/in.h>
-+#include <netinet/tcp.h>
- #include <netdb.h>
- #include <fcntl.h>
-
-@@ -57,6 +58,8 @@
-
- void posixSocket::connect(const vmime::string& address, const vmime::port_t port)
- {
-+ int flag = 1;
-+
- // Close current connection, if any
- if (m_desc != -1)
- {
-@@ -92,6 +95,8 @@
- if (m_desc == -1)
- throw vmime::exceptions::connection_error("Error while creating socket.");
-
-+ ::setsockopt(m_desc, IPPROTO_TCP, TCP_NODELAY, (char *)&flag, sizeof(flag));
-+
- // Start connection
- if (::connect(m_desc, reinterpret_cast <sockaddr*>(&addr), sizeof(addr)) == -1)
- {