projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak detection of com.nokia.osso_browser acquisition slightly
[browser-switch]
/
launcher.c
diff --git
a/launcher.c
b/launcher.c
index
2c4fbbe
..
f11c3d8
100644
(file)
--- 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;
}
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 */
MicroB should be ready to handle our request */
- if (strlen(old) == 0) {
+ if (strlen(new) > 0) {
log_msg("MicroB ready\n");
microb_started = 1;
}
log_msg("MicroB ready\n");
microb_started = 1;
}