aboutsummaryrefslogtreecommitdiff
path: root/news/PicMonger/files/patch-InetSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'news/PicMonger/files/patch-InetSocket.cpp')
-rw-r--r--news/PicMonger/files/patch-InetSocket.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/news/PicMonger/files/patch-InetSocket.cpp b/news/PicMonger/files/patch-InetSocket.cpp
new file mode 100644
index 000000000000..296f3cd0c4b4
--- /dev/null
+++ b/news/PicMonger/files/patch-InetSocket.cpp
@@ -0,0 +1,20 @@
+--- InetSocket.cpp.orig Tue Mar 14 23:43:09 2000
++++ InetSocket.cpp Fri Dec 1 22:20:58 2006
+@@ -31,7 +31,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+
+-InetSocket::InetSocket(int type=SOCK_STREAM, int protocol=0)
++InetSocket::InetSocket(int type, int protocol)
+ : type_(type), protocol_(protocol)
+ {
+ local_fd = socket( PF_INET, type_, protocol_ );
+@@ -58,7 +58,7 @@
+ return result;
+ }
+
+-int InetSocket::s_bind( int port, const char *dotquad = (const char *)0)
++int InetSocket::s_bind( int port, const char *dotquad)
+ {
+ // construct local address to which we want our unnamed socket bound
+ if (!dotquad)