]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound): compile fix for MS Platf...
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 14 May 2007 15:34:46 +0000 (15:34 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 14 May 2007 15:34:46 +0000 (15:34 +0000)
ChangeLog
dbus/dbus-sysdeps-win.c

index 8eb017613f43880af640720b8b63a27b56ef0d4c..86dbafc99ee1753e2a3a316033b3946e1c1ea66b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-14  Ralf Habacker <ralf.habacker@freenet.de>
+
+       * dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound):
+       compile fix for MS Platform SDK 6 
+       patch from Michael Luschas <mluschas@gmail.com>
+
 2007-05-10  John (J5) Palmieri <johnp@redhat.com>
 
        * dbus-1.pc.in: add daemondir to pc file
index 08ac6a0f34f3e261ee58047476e12d29247ded97..3f56323cff5214038f05a19a4f5f640bc654ca30 100644 (file)
@@ -1609,12 +1609,12 @@ int _dbus_printf_string_upper_bound (const char *format,
    */
   char p[1024];
   int len;
-  len = vsnprintf (p, sizeof(p)-1, format, args);
+  len = _vsnprintf (p, sizeof(p)-1, format, args);
   if (len == -1) // try again
     {
       char *p;
       p = malloc (strlen(format)*3);
-      len = vsnprintf (p, sizeof(p)-1, format, args);
+      len = _vsnprintf (p, sizeof(p)-1, format, args);
       free(p);
     }
   return len;