X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_desktop.c;h=266c77cf42d975203e739f2825a585c1723ed6de;hb=a1bba58ed83a67ba47e7c88dca6a939ce3181a9d;hp=520a2804c4b51a4d8d40ebc10e0f5c23c421a457;hpb=43d22c19485997e82d28a9ed7ba17965882dc27f;p=collectd.git diff --git a/src/notify_desktop.c b/src/notify_desktop.c index 520a2804..266c77cf 100644 --- a/src/notify_desktop.c +++ b/src/notify_desktop.c @@ -94,11 +94,11 @@ static int c_notify(const notification_t *n, } ssnprintf(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)