soc.2008.masterpassword: 9f4f1b25: And this seems to fix the password read/..

qulogic at pidgin.im qulogic at pidgin.im
Sat Nov 12 04:01:28 EST 2011


----------------------------------------------------------------------
Revision: 9f4f1b251faf390a768c41cbad2e7b8774dcdb6c
Parent:   4c21a86a09b64b0bf225784925fce6363316acc8
Author:   qulogic at pidgin.im
Date:     11/11/11 22:45:10
Branch:   im.pidgin.soc.2008.masterpassword
URL: http://d.pidgin.im/viewmtn/revision/info/9f4f1b251faf390a768c41cbad2e7b8774dcdb6c

Changelog: 

And this seems to fix the password read/save from/to the keyring.

Changes against parent 4c21a86a09b64b0bf225784925fce6363316acc8

  patched  libpurple/plugins/keyrings/kwallet.cpp

-------------- next part --------------
============================================================
--- libpurple/plugins/keyrings/kwallet.cpp	dc8d61ace3196ee6ae510d49a097e5dc548e4bc0
+++ libpurple/plugins/keyrings/kwallet.cpp	605efa865d94698b091794d4e9f0f4666dd7a17a
@@ -242,7 +242,7 @@ KWalletPlugin::read_request::execute(KWa
 	QString key;
 
 	key = QString("purple-") + purple_account_get_username(account) + " " + purple_account_get_protocol_id(account);
-	result = wallet.readPassword(key, password);
+	result = wallet->readPassword(key, *password);
 
 	if (result != 0)
 		abort();
@@ -257,7 +257,7 @@ KWalletPlugin::save_request::execute(KWa
 	QString key;
 
 	key = QString("purple-") + purple_account_get_username(account) + " " + purple_account_get_protocol_id(account);
-	result = wallet.writePassword(key, password);
+	result = wallet->writePassword(key, *password);
 
 	if (result != 0)
 		abort();


More information about the Commits mailing list