[Commits] [SCM] claws branch, master, updated. 3.17.0-79-gf7dd465
mones at claws-mail.org
mones at claws-mail.org
Thu Oct 4 15:50:07 CEST 2018
The branch, master has been updated
via f7dd46558a296973d765f3ba25dfb46e02b501a1 (commit)
from 5c750e4f256b2d0f45cabb9176c91235ad7e0fa4 (commit)
Summary of changes:
src/entity.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit f7dd46558a296973d765f3ba25dfb46e02b501a1
Author: Ricardo Mones <ricardo at mones.org>
Date: Thu Oct 4 15:49:07 2018 +0200
Simplify comparison
and keep Coverity happy.
diff --git a/src/entity.c b/src/entity.c
index fcf4c28..058c3aa 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -357,7 +357,7 @@ static gchar *entity_decode_numeric(gchar *str)
if (strlen(b) > 0)
c = g_ascii_strtoll (b, NULL, (hex ? 16 : 10));
- if (c >= 0 && c <= 31)
+ if (c < 32)
/* An unprintable character; return the Unicode replacement symbol */
return g_strdup("\xef\xbf\xbd");
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list