From 28345b21d563c596c29e30cba2a71187f00bbdb9 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 8 Mar 2013 22:09:23 +0100 Subject: [PATCH 09/11] Debug message eol fix. --- dbus/dbus-sysdeps-win.c | 14 +++++++------- 1 Datei geändert, 7 Zeilen hinzugefügt(+), 7 Zeilen entfernt(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 0b08f34..e113143 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -132,31 +132,31 @@ get_peer_pid_from_tcp_handle (int handle) } else if (addr.ss_family == AF_INET6) { - _dbus_verbose ("FIXME [61922]: IPV6 support not working on windows"); + _dbus_verbose ("FIXME [61922]: IPV6 support not working on windows\n"); return 0; /* struct sockaddr_in6 *s = (struct sockaddr_in6 * )&addr; peer_port = ntohs (s->sin6_port); is_localhost = (memcmp(s->sin6_addr.s6_addr, in6addr_loopback.s6_addr, 16) == 0); - _dbus_verbose ("IPV6 %08x %08x", s->sin6_addr.s6_addr, in6addr_loopback.s6_addr); + _dbus_verbose ("IPV6 %08x %08x\n", s->sin6_addr.s6_addr, in6addr_loopback.s6_addr); */ } else { - _dbus_verbose ("no idea what address family %d is", addr.ss_family); + _dbus_verbose ("no idea what address family %d is\n", addr.ss_family); return 0; } if (!is_localhost) { - _dbus_verbose ("could not fetch process id from remote process"); + _dbus_verbose ("could not fetch process id from remote process\n"); return 0; } if (peer_port == 0) { _dbus_verbose - ("Error not been able to fetch tcp peer port from connection"); + ("Error not been able to fetch tcp peer port from connection\n"); return 0; } @@ -166,14 +166,14 @@ get_peer_pid_from_tcp_handle (int handle) tcp_table = (MIB_TCPTABLE_OWNER_PID *) dbus_malloc (size); if (tcp_table == NULL) { - _dbus_verbose ("Error allocating memory "); + _dbus_verbose ("Error allocating memory\n"); return 0; } } if ((result = GetExtendedTcpTable (tcp_table, &size, TRUE, AF_INET, TCP_TABLE_OWNER_PID_CONNECTIONS, 0)) != NO_ERROR) { - _dbus_verbose ("Error fetching tcp table"); + _dbus_verbose ("Error fetching tcp table %d\n", result); dbus_free (tcp_table); return 0; } -- 1.7.10.4