diff main.c @ 12:6440ba6e3466

Do not print a warning if an empty notification is skipped
author Guido Berhoerster <guido+xwrited@berhoerster.name>
date Mon, 16 Mar 2015 20:04:12 +0100
parents fd2e275436a4
children eb97cafe34e5
line wrap: on
line diff
--- a/main.c	Mon Mar 16 19:58:21 2015 +0100
+++ b/main.c	Mon Mar 16 20:04:12 2015 +0100
@@ -166,6 +166,7 @@
 	 */
 	if ((strlen(body) == 0) ||
 	    !g_regex_match_simple("[^[:space:][:cntrl:]]", body, 0, 0)) {
+		retval = TRUE;
 		goto out;
 	}