mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 14:05:58 +03:00
Fix libsmbclient 3.0.x code.
This commit is contained in:
parent
0cb00f266d
commit
a825dd3e14
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ static void get_auth_data_fn(const char *pServer,
|
|||
/* Call the passwort prompt */
|
||||
if (auth_cb != NULL) {
|
||||
DEBUG_SMB(("csync_smb - execute authentication callback\n"));
|
||||
(*auth_cb) (pUsername, maxLenUsername, pPassword, maxLenPassword);
|
||||
(*auth_cb) ("Username:", pUsername, maxLenUsername, 1, 0);
|
||||
(*auth_cb) ("Password:", pPassword, maxLenPassword, 0, 0);
|
||||
}
|
||||
|
||||
DEBUG_SMB(("csync_smb - user=%s, workgroup=%s, server=%s, share=%s\n",
|
||||
|
|
Loading…
Reference in a new issue