From 073958da3e70981bcef79872398cf37204426995 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 8 Mar 2013 23:15:00 +0100 Subject: [PATCH 10/11] Use table class which has been implemented in wine 1.5.3. --- dbus/dbus-sysdeps-win.c | 4 ++-- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index e113143..1c52a9b 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -161,7 +161,7 @@ get_peer_pid_from_tcp_handle (int handle) } if ((result = - GetExtendedTcpTable (NULL, &size, TRUE, AF_INET, TCP_TABLE_OWNER_PID_CONNECTIONS, 0)) == ERROR_INSUFFICIENT_BUFFER) + GetExtendedTcpTable (NULL, &size, TRUE, AF_INET, TCP_TABLE_OWNER_PID_ALL, 0)) == ERROR_INSUFFICIENT_BUFFER) { tcp_table = (MIB_TCPTABLE_OWNER_PID *) dbus_malloc (size); if (tcp_table == NULL) @@ -171,7 +171,7 @@ get_peer_pid_from_tcp_handle (int handle) } } - if ((result = GetExtendedTcpTable (tcp_table, &size, TRUE, AF_INET, TCP_TABLE_OWNER_PID_CONNECTIONS, 0)) != NO_ERROR) + if ((result = GetExtendedTcpTable (tcp_table, &size, TRUE, AF_INET, TCP_TABLE_OWNER_PID_ALL, 0)) != NO_ERROR) { _dbus_verbose ("Error fetching tcp table %d\n", result); dbus_free (tcp_table); -- 1.7.10.4