diff --git a/src/util/virdbus.c b/src/util/virdbus.c index 3993bcb86053e9cb69b25506ff6dcc718cd4b2a0..cb5371faef9e599c343e1a8e84ecf0066c5e4882 100644 --- a/src/util/virdbus.c +++ b/src/util/virdbus.c @@ -236,7 +236,7 @@ static dbus_bool_t virDBusAddWatch(DBusWatch *watch, struct virDBusWatch *info; if (VIR_ALLOC(info) < 0) - return 0; + return FALSE; if (dbus_watch_get_enabled(watch)) flags = virDBusTranslateWatchFlags(dbus_watch_get_flags(watch)); @@ -253,10 +253,10 @@ static dbus_bool_t virDBusAddWatch(DBusWatch *watch, watch, NULL); if (info->watch < 0) { dbus_watch_set_data(watch, NULL, NULL); - return 0; + return FALSE; } - return 1; + return TRUE; }