[Commits] [SCM] claws branch, master, updated. 3.17.3-173-gf66f33e

ticho at claws-mail.org ticho at claws-mail.org
Wed May 1 12:44:38 CEST 2019


The branch, master has been updated
       via  f66f33e401447ef3c5638d115929f8e8fc36baee (commit)
      from  7d4d2199593a85aefee2fb3d9a6645451c35196a (commit)

Summary of changes:
 src/common/socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit f66f33e401447ef3c5638d115929f8e8fc36baee
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed May 1 12:44:20 2019 +0200

    Fix CID 1444847 - Uninitialized variables in sock_close()

diff --git a/src/common/socket.c b/src/common/socket.c
index ad740b5..4dac820 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -1488,7 +1488,7 @@ Single-byte send() and recv().
 
 gint sock_close(SockInfo *sock, gboolean close_fd)
 {
-	gint ret;
+	gint ret = 0;
 
 	if (!sock)
 		return 0;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list