[Commits] [SCM] claws branch, master, updated. 4.1.1-58-gf0cab27e8

mones at claws-mail.org mones at claws-mail.org
Tue Apr 18 21:58:56 UTC 2023


The branch, master has been updated
       via  f0cab27e81a984c028f2cc1d7be1af0083352210 (commit)
      from  9c2dc86a857c567847a24f5b3184578839ed34c3 (commit)

Summary of changes:
 src/common/utils.c | 2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit f0cab27e81a984c028f2cc1d7be1af0083352210
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Apr 18 23:56:56 2023 +0200

    Quit searching if string became empty

diff --git a/src/common/utils.c b/src/common/utils.c
index 396a65eff..3638f4a13 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -609,6 +609,8 @@ gchar *escape_internal_quotes(gchar *str, gchar quote_chr)
 		return str;
 
 	g_strstrip(str);
+	if (*str == '\0')
+		return str;
 	/* search for unescaped quote_chr */
 	p = str;
 	if (*p == quote_chr)

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list