[Commits] [SCM] claws branch, master, updated. 4.1.0-34-g6fbe52dbc

miras at claws-mail.org miras at claws-mail.org
Fri May 27 19:39:30 UTC 2022


The branch, master has been updated
       via  6fbe52dbc7939174e1b5a1ee259f83b3f3f6123b (commit)
       via  6a28f853fb5c7d9767da61b2326470c5bfe0c72b (commit)
      from  42520ed14fdfb2805cd5a65743ee63ac5cfc4c08 (commit)

Summary of changes:
 src/prefs_account.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 6fbe52dbc7939174e1b5a1ee259f83b3f3f6123b
Author: Michael Rasmussen <mir at datanom.net>
Date:   Fri May 27 21:38:47 2022 +0200

    Fix CID 1504479 and 1504581
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/prefs_account.c b/src/prefs_account.c
index b616c09a5..ad1790103 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -6003,7 +6003,8 @@ static void prefs_account_receive_itv_spinbutton_value_changed_cb(GtkWidget *w,
 static void prefs_account_oauth2_listener(GTask *task, gpointer source, gpointer task_data, GCancellable *cancellable)
 {
 	struct Oauth2Listener *oauth2_listener_data = (struct Oauth2Listener *)task_data;
-	int socket_desc, client_sock, c;
+	unsigned int socket_desc;
+	int client_sock, c;
 	struct sockaddr_in server , client;
 	char client_message[2000];
 	char reply[600];

commit 6a28f853fb5c7d9767da61b2326470c5bfe0c72b
Author: Michael Rasmussen <mir at datanom.net>
Date:   Fri May 27 21:37:26 2022 +0200

    Fix CID 1504580
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/prefs_account.c b/src/prefs_account.c
index e49349b44..b616c09a5 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -6021,6 +6021,7 @@ static void prefs_account_oauth2_listener(GTask *task, gpointer source, gpointer
 		debug_print("oauth2 listener could not create socket\n");
 		g_task_return_boolean (task, TRUE);
 		g_object_unref (task);
+		return;
 	}
 	debug_print("oauth2 listener socket created\n");
 	
@@ -6036,6 +6037,7 @@ static void prefs_account_oauth2_listener(GTask *task, gpointer source, gpointer
 		debug_print("oauth2 listener bind failed\n");
 		g_task_return_boolean (task, TRUE);
 		g_object_unref (task);
+		return;
 	}
 	debug_print("oauth2 listener bind done\n");
 
@@ -6060,6 +6062,7 @@ static void prefs_account_oauth2_listener(GTask *task, gpointer source, gpointer
 				debug_print("oauth2 listener accept failed\n");
 				g_task_return_boolean (task, TRUE);
 				g_object_unref (task);
+				return;
 			}
 			debug_print("oauth2 listener connection accepted\n");
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list