fix talk mutex typo unlock -> lock

This commit is contained in:
Kovid Goyal 2020-07-18 11:47:22 +05:30
parent 6b26088c27
commit 9d9ec84b54
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1479,7 +1479,7 @@ talk_loop(void *data) {
while (LIKELY(!self->shutting_down)) {
num_peer_fds = 0;
if (talk_data.num_peers > 0) {
talk_mutex(unlock);
talk_mutex(lock);
prune_peers();
for (size_t i = 0; i < talk_data.num_peers; i++) {
Peer *p = talk_data.peers + i;