mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Fix libssh connect bug cause of uninitialized port variable.
This commit is contained in:
parent
db9049d198
commit
dd52ac837e
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static int _sftp_connect(const char *uri) {
|
|||
char *user = NULL;
|
||||
char *passwd = NULL;
|
||||
char *host = NULL;
|
||||
unsigned int port;
|
||||
unsigned int port = 0;
|
||||
char *path = NULL;
|
||||
unsigned char hash[MD5_DIGEST_LEN];
|
||||
int rc = -1;
|
||||
|
|
Loading…
Reference in a new issue