diff options
Diffstat (limited to 'mbone/mcl/files/patch-mcl_lib.cpp')
-rw-r--r-- | mbone/mcl/files/patch-mcl_lib.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/mbone/mcl/files/patch-mcl_lib.cpp b/mbone/mcl/files/patch-mcl_lib.cpp index c76e22fadb91..d40dbe58584c 100644 --- a/mbone/mcl/files/patch-mcl_lib.cpp +++ b/mbone/mcl/files/patch-mcl_lib.cpp @@ -1,6 +1,6 @@ ---- src/alc/mcl_lib.cpp.orig Tue Jul 22 19:37:39 2003 -+++ src/alc/mcl_lib.cpp Wed Oct 15 16:16:55 2003 -@@ -1265,8 +1265,10 @@ +--- src/alc/mcl_lib.cpp.orig Wed Nov 26 15:38:14 2003 ++++ src/alc/mcl_lib.cpp Tue Dec 16 23:58:46 2003 +@@ -1384,8 +1384,10 @@ if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) { TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n")) return (recvfrom(id, (char*)buf, len, 0, saddr, @@ -12,3 +12,16 @@ #endif saddr_len)); } +@@ -1520,8 +1522,11 @@ + if (id >= MCLCB_MAX_ID || (mclcb = mclcbs[id]) == NULL) { + TRACE((mcl_stdout, " mcl_recvfrom: not an MCL id, switch to standard recvfrom\n")) + return (recvfrom(id, (char*)buf, len, 0, saddr, +-#ifdef LINUX ++#if defined(LINUX) + (size_t*) /* linux => uint, solaris => int */ ++#elif defined(FREEBSD) ++ (socklen_t*) ++ + #endif + saddr_len)); + } |