From: Ralf Habacker Date: Thu, 8 Aug 2013 21:23:11 +0000 (+0200) Subject: Add debug messages to load_ex_ip_helper_procedures(). X-Git-Tag: dbus-1.8.2~236 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a76654a4363b4af87fec72c30ebf0ca4bda7a6f;p=platform%2Fupstream%2Fdbus.git Add debug messages to load_ex_ip_helper_procedures(). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66060 Reviewed-by: Simon McVittie --- diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index abc14b1..c418904 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -125,11 +125,17 @@ static BOOL load_ex_ip_helper_procedures(void) { HMODULE hModule = LoadLibrary ("iphlpapi.dll"); if (hModule == NULL) + { + _dbus_verbose ("could not load iphlpapi.dll\n"); return FALSE; + } lpfnAllocateAndGetTcpExTableFromStack = (ProcAllocateAndGetTcpExtTableFromStack)GetProcAddress (hModule, "AllocateAndGetTcpExTableFromStack"); if (lpfnAllocateAndGetTcpExTableFromStack == NULL) + { + _dbus_verbose ("could not find function AllocateAndGetTcpExTableFromStack in iphlpapi.dll\n"); return FALSE; + } return TRUE; }