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:
chrisparker126 2010-04-20 11:51:18 +00:00
parent 080e10e89d
commit f2a3486e4b

View File

@ -34,7 +34,7 @@
//#define GPG_DEBUG 1
// initialisation du pointeur de singleton à zéro
// initialisation du pointeur de singleton à zéro
AuthGPG *AuthGPG::instance_gpg = new AuthGPG();
/* 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
text = "";
} else {
text = rsicontrol->getNotify().askForPassword(uid_hint);
text = rsicontrol->getNotify().askForPassword(uid_hint, prev_was_bad);
#ifdef GPG_DEBUG
std::cerr << "pgp_pwd_callback() got GPG passwd from gui." << std::endl;
#endif