summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2010-06-23 20:27:09 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2010-06-23 20:28:59 -0400
commit9fae4e8c01ac3404bb98fd868c0b198f3b7570b3 (patch)
tree0cdbdba5d60f5bd525ecfb19cdf9ee4817a2748e
parent3b3dbab5447aae82bd808a7b02255ac897748947 (diff)
downloadlibnotify-9fae4e8c01ac3404bb98fd868c0b198f3b7570b3.tar.gz
Sending NULL body is allowed
-rw-r--r--tools/notify-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c
index e1831f4..20fe666 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -222,7 +222,7 @@ main (int argc, char *argv[])
exit (1);
notify = notify_notification_new (summary,
- body == NULL ? "" : body,
+ body,
icon_str,
NULL);
notify_notification_set_category (notify, type);