|
From: | Samuel Thibault |
Subject: | Re: [PATCH 4/7] Fix double call to pthread_mutex_unlock in S_socket_connect. |
Date: | Mon, 17 Dec 2012 01:24:11 +0100 |
User-agent: | Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Cyril Roelandt, le Mon 17 Dec 2012 00:51:27 +0100, a écrit : > * pflocal/socker.c (S_socket_connect): fix redundant call to > pthread_mutex_unlock. There is no need to hold sock->lock to call > connq_connect_cancel, and sock->lock must be taken when leaving the if/else > blocks. Indeed, thanks! Samuel
[Prev in Thread] | Current Thread | [Next in Thread] |