mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 19:04:25 -05:00
fixed compile time error
- call back function did not pass prev_was_bad as parameter to gui/qtnotify function which requests password git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
080e10e89d
commit
f2a3486e4b
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
//#define GPG_DEBUG 1
|
//#define GPG_DEBUG 1
|
||||||
|
|
||||||
// initialisation du pointeur de singleton à zéro
|
// initialisation du pointeur de singleton à zéro
|
||||||
AuthGPG *AuthGPG::instance_gpg = new AuthGPG();
|
AuthGPG *AuthGPG::instance_gpg = new AuthGPG();
|
||||||
|
|
||||||
/* Turn a set of parameters into a string */
|
/* Turn a set of parameters into a string */
|
||||||
@ -94,7 +94,7 @@ gpg_error_t pgp_pwd_callback(void *hook, const char *uid_hint, const char *passp
|
|||||||
#endif
|
#endif
|
||||||
text = "";
|
text = "";
|
||||||
} else {
|
} else {
|
||||||
text = rsicontrol->getNotify().askForPassword(uid_hint);
|
text = rsicontrol->getNotify().askForPassword(uid_hint, prev_was_bad);
|
||||||
#ifdef GPG_DEBUG
|
#ifdef GPG_DEBUG
|
||||||
std::cerr << "pgp_pwd_callback() got GPG passwd from gui." << std::endl;
|
std::cerr << "pgp_pwd_callback() got GPG passwd from gui." << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user