dbus/dbus dbus-sysdeps-win.c,1.9,1.10

Ralf Habacker rhabacker at kemper.freedesktop.org
Thu Apr 26 02:30:40 PDT 2007


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv31939/dbus

Modified Files:
	dbus-sysdeps-win.c 
Log Message:
* cmake: added debug postfixes to debug exe's for easier debugging.
* dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): print error code in case no string message is available.

Index: dbus-sysdeps-win.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-win.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dbus-sysdeps-win.c	16 Mar 2007 21:56:33 -0000	1.9
+++ dbus-sysdeps-win.c	26 Apr 2007 09:30:38 -0000	1.10
@@ -2510,7 +2510,7 @@
       dbus_set_error (error, "win32.error", "%s", msg_copy);
     }
   else
-    dbus_set_error_const (error, "win32.error", "Unknown error code or FormatMessage failed");
+    dbus_set_error (error, "win32.error", "Unknown error code %d or FormatMessage failed", code);
 }
 
 void



More information about the dbus-commit mailing list