[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-162-g8cb4112c1
wwp at claws-mail.org
wwp at claws-mail.org
Sat Sep 11 23:30:05 CEST 2021
The branch, gtk3 has been updated
via 8cb4112c152c5e3b155fcfba18246febda805acb (commit)
from a223eeb176a9b5afc5e98d959ae2ab9fc3352246 (commit)
Summary of changes:
src/action.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 8cb4112c152c5e3b155fcfba18246febda805acb
Author: wwp <subscript at free.fr>
Date: Sat Sep 11 23:29:51 2021 +0200
Better check for read() errors.
diff --git a/src/action.c b/src/action.c
index c04507d9c..ba1aa555a 100644
--- a/src/action.c
+++ b/src/action.c
@@ -1575,7 +1575,7 @@ static void catch_output(gpointer data, gint source, GIOCondition cond)
gchar *ret_str;
c = read(source, buf, sizeof(buf) - 1);
- if (c == 0)
+ if (c <= 0)
break;
buf[c] = 0;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list