changeset 912:0a46772fad5d

Fix handling the CMD_FLAG_ERROR bit -- http://lists.freediameter.net/pipermail/help/2013-January/000575.html
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 29 Jan 2013 13:40:29 +0100
parents c9f86e8c45fe
children 00994523f9d4
files libfdcore/messages.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libfdcore/messages.c	Sun Jan 20 03:21:33 2013 +0100
+++ b/libfdcore/messages.c	Tue Jan 29 13:40:29 2013 +0100
@@ -283,7 +283,7 @@
 		if (set_e_bit)
 			hdr->msg_flags |= CMD_FLAG_ERROR;
 		else
-			hdr->msg_flags &= ! CMD_FLAG_ERROR;
+			hdr->msg_flags &= ~ CMD_FLAG_ERROR;
 	}
 	
 	if (std_err_msg || errormsg) {
"Welcome to our mercurial repository"