]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* (_dbus_get_install_root): bug fix
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 1 Jun 2007 22:12:43 +0000 (22:12 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 1 Jun 2007 22:12:43 +0000 (22:12 +0000)
dbus/dbus-sysdeps-util-win.c

index 81fa0ef44790887380a3d12939e297a1ae9a7bcd..3b308f8c47545bef8eca2dd2fbcfb474267f6134 100644 (file)
@@ -81,7 +81,7 @@ _dbus_get_install_root(char *s, int len)
       *s = '\0';
       return FALSE;
     }
-  else if ((p = strstr(s,"\\bin\\")) == NULL)
+  else if ((p = strstr(s,"\\bin\\")))
     {
       *(p+1)= '\0';
       return TRUE;