Ensure to also replace colon in provider D-Bus object path
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 21 Aug 2010 21:53:26 +0000 (23:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 21 Aug 2010 21:53:26 +0000 (23:53 +0200)
src/provider.c

index 57816ec60c0df8baeff33d06b932d2bce8820108..1dfba217c8b7a5df499be8823665ce18ac52de42 100644 (file)
@@ -420,7 +420,7 @@ static void provider_dbus_ident(char *ident)
        int i, len = strlen(ident);
 
        for (i = 0; i < len; i++)
-               if (ident[i] == '.')
+               if (ident[i] == '.' || ident[i] == ':')
                        ident[i] = '_';
 }