X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fnotify_desktop.c;h=e391cf275c04410ac76b67bbf6c896977f0fc74f;hp=255230b13ec355f23b9f04da504cb1a1fc46ff12;hb=1159cb5d383c55a80a0db100b8f7aadcf44740a5;hpb=be126043c2be20399d7670fe194645292018bde0 diff --git a/src/notify_desktop.c b/src/notify_desktop.c index 255230b1..e391cf27 100644 --- a/src/notify_desktop.c +++ b/src/notify_desktop.c @@ -94,11 +94,11 @@ static int c_notify(const notification_t *n, } snprintf(summary, sizeof(summary), "collectd %s notification", - (NOTIF_FAILURE == n->severity) - ? "FAILURE" - : (NOTIF_WARNING == n->severity) - ? "WARNING" - : (NOTIF_OKAY == n->severity) ? "OKAY" : "UNKNOWN"); + (NOTIF_FAILURE == n->severity) + ? "FAILURE" + : (NOTIF_WARNING == n->severity) + ? "WARNING" + : (NOTIF_OKAY == n->severity) ? "OKAY" : "UNKNOWN"); notification = notify_notification_new(summary, n->message, NULL #if NOTIFY_CHECK_VERSION(0, 7, 0)