From 674cb304b376358fdcb17b4a0b16ae7b00cdbedc Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 3 Jun 2012 01:19:07 +0200 Subject: let user select wallet file with -wallet=foo.dat use std::string instead of psz for WalletFile only allow wallets within $DATADIR Use strWalletFile in salvage/recover fix: remove unused variable pszWalletFile move strWalletFile to init.h/init.cpp avoid conversion of strWalletfile to c-string --- src/init.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/init.h') diff --git a/src/init.h b/src/init.h index 5927670c83..a4d5a67252 100644 --- a/src/init.h +++ b/src/init.h @@ -7,6 +7,7 @@ #include "wallet.h" +extern std::string strWalletFile; extern CWallet* pwalletMain; void StartShutdown(); -- cgit v1.2.3