projects/xwrited

changeset 12:6440ba6e3466

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