[Commits] [SCM] claws branch, master, updated. 3.10.1-161-gd371ee5
mones at claws-mail.org
mones at claws-mail.org
Fri Sep 19 14:06:23 CEST 2014
The branch, master has been updated
via d371ee55518909b81f07af3df6cee32e4f54365e (commit)
from ff9859c1a03eb7989276351e918b32b366aa5eee (commit)
Summary of changes:
src/etpan/nntp-thread.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit d371ee55518909b81f07af3df6cee32e4f54365e
Author: Ricardo Mones <ricardo at mones.org>
Date: Wed Sep 10 01:15:37 2014 +0200
Improve thread-safety in NNTP
diff --git a/src/etpan/nntp-thread.c b/src/etpan/nntp-thread.c
index 7d02b04..ac5d210 100644
--- a/src/etpan/nntp-thread.c
+++ b/src/etpan/nntp-thread.c
@@ -58,9 +58,6 @@ static chash * session_hash = NULL;
static guint thread_manager_signal = 0;
static GIOChannel * io_channel = NULL;
-static void (*previous_stream_logger)(int direction,
- const char * str, size_t size);
-
static void nntp_logger(int direction, const char * str, size_t size)
{
gchar *buf;
@@ -270,7 +267,9 @@ static void threaded_run(Folder * folder, void * param, void * result,
{
struct etpan_thread_op * op;
struct etpan_thread * thread;
-
+ void (*previous_stream_logger)(int direction,
+ const char * str, size_t size);
+
nntp_folder_ref(folder);
op = etpan_thread_op_new();
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list