X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=f11c3d8308d4e57f8733966cd4dd9f565988e4a2;hp=2c4fbbe39cc29e65576853357f51ee2bf7d60380;hb=aeb836f50d4f76c38a73be8517d2b626d769c316;hpb=1e3c4733ddcd3c38575a700906f368bb0ead6177 diff --git a/launcher.c b/launcher.c index 2c4fbbe..f11c3d8 100644 --- a/launcher.c +++ b/launcher.c @@ -76,9 +76,9 @@ static DBusHandlerResult check_microb_started(DBusConnection *connection, dbus_error_free(&error); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } - /* If old is an empty string, then the name has been acquired, and + /* If new is not an empty string, then the name has been acquired, and MicroB should be ready to handle our request */ - if (strlen(old) == 0) { + if (strlen(new) > 0) { log_msg("MicroB ready\n"); microb_started = 1; }