From f2a3486e4bf2d8d373df0c3a9ecda7a194808677 Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Tue, 20 Apr 2010 11:51:18 +0000 Subject: [PATCH] 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 --- libretroshare/src/pqi/authgpg.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/pqi/authgpg.cc b/libretroshare/src/pqi/authgpg.cc index 2e3ab1c34..1f2bd198d 100644 --- a/libretroshare/src/pqi/authgpg.cc +++ b/libretroshare/src/pqi/authgpg.cc @@ -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