diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-03-17 02:18:05 +0000 |
commit | 6c59170bca7b079bb699aa4fe6a5bf790e0dea6e (patch) | |
tree | 83a5fb38fba33a2f9e88f2df143b28d6ebc3b483 /net/licq-devel/files/patch-ad | |
parent | Revert to rev. 1.4, which will restore some bugs in the previous version (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_0_0'.release/4.0.0
Diffstat (limited to 'net/licq-devel/files/patch-ad')
-rw-r--r-- | net/licq-devel/files/patch-ad | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net/licq-devel/files/patch-ad b/net/licq-devel/files/patch-ad deleted file mode 100644 index c2a393881a6a..000000000000 --- a/net/licq-devel/files/patch-ad +++ /dev/null @@ -1,34 +0,0 @@ ---- src/daemon/socket.cpp.orig Mon Feb 21 00:34:58 2000 -+++ src/daemon/socket.cpp Mon Feb 21 00:43:15 2000 -@@ -12,6 +12,7 @@ - #include <netdb.h> - #include <fcntl.h> - #include <unistd.h> -+#include <osreldate.h> - - #ifndef MSG_DONTWAIT - #define MSG_DONTWAIT 0 -@@ -244,7 +245,11 @@ - if (_nFlags & ADDR_LOCAL) - { - // Setup the local structure -+#if __FreeBSD_version < 400013 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); -+#else - socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+#endif - if (getsockname(m_nDescriptor, (struct sockaddr *)&m_sLocalAddr, &sizeofSockaddr) < 0) - { - // errno has been set -@@ -480,7 +485,11 @@ - *---------------------------------------------------------------------------*/ - void TCPSocket::RecvConnection(TCPSocket &newSocket) - { -+#if __FreeBSD_version < 400013 -+ int sizeofSockaddr = sizeof(struct sockaddr_in); -+#else - socklen_t sizeofSockaddr = sizeof(struct sockaddr_in); -+#endif - newSocket.m_nDescriptor = accept(m_nDescriptor, (struct sockaddr *)&newSocket.m_sRemoteAddr, &sizeofSockaddr); - newSocket.OpenSocket(); - newSocket.SetAddrsFromSocket(ADDR_LOCAL | ADDR_REMOTE); |