Skip to content
Snippets Groups Projects
Commit b2041514 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

sftp_channel is always -1 here.

parent 53ffa0d0
No related branches found
No related tags found
No related merge requests found
...@@ -577,7 +577,7 @@ add_public_key(void *vpriv) ...@@ -577,7 +577,7 @@ add_public_key(void *vpriv)
pubkey_thread_running = false; pubkey_thread_running = false;
return; return;
} }
int sc = sftp_channel; int sc = new_sftp_channel;
pthread_mutex_unlock(&ssh_mutex); pthread_mutex_unlock(&ssh_mutex);
pthread_mutex_unlock(&ssh_tx_mutex); pthread_mutex_unlock(&ssh_tx_mutex);
active = 0; active = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment