From d2a4955338a20e3eba0d8152e45e3f56a65b87ba Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 10 Mar 2007 09:13:57 +0000 Subject: * dbus-win.patch: removed committed patch. --- dbus-win.patch | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'dbus-win.patch') diff --git a/dbus-win.patch b/dbus-win.patch index e4eef318..c83c3f2f 100644 --- a/dbus-win.patch +++ b/dbus-win.patch @@ -538,27 +538,6 @@ diff -u -r1.3 dbus-server-socket.c client_fd = _dbus_accept (listen_fd); -@@ -393,15 +393,19 @@ - - if (port == NULL) - { -+#if defined(DBUS_WIN) || defined(DBUS_WINCE) -+ port = "0"; -+#else - _dbus_set_bad_address(error, "tcp", "port", NULL); - return DBUS_SERVER_LISTEN_BAD_ADDRESS; -+#endif - } - - _dbus_string_init_const (&str, port); - sresult = _dbus_string_parse_int (&str, 0, &lport, NULL); - _dbus_string_free (&str); - -- if (sresult == FALSE || lport <= 0 || lport > 65535) -+ if (sresult == FALSE || lport < 0 || lport > 65535) - { - _dbus_set_bad_address(error, NULL, NULL, - "Port is not an integer between 0 and 65535"); Index: dbus/dbus-server.c =================================================================== RCS file: /cvs/dbus/dbus/dbus/dbus-server.c,v -- cgit