diff options
| author | João Barbosa <[email protected]> | 2018-07-24 16:59:49 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-07-24 20:46:23 +0100 |
| commit | 12dd1013454a3b4913e8e6bbac251887e7e82ff0 (patch) | |
| tree | 74edb97303620fd3ce9db676ab0c8f5664c81e58 /src/httprpc.cpp | |
| parent | Merge #12257: [wallet] Use destination groups instead of coins in coin select (diff) | |
| download | discoin-12dd1013454a3b4913e8e6bbac251887e7e82ff0.tar.xz discoin-12dd1013454a3b4913e8e6bbac251887e7e82ff0.zip | |
scripted-diff: Remove trailing whitespaces
-BEGIN VERIFY SCRIPT-
sed --in-place'' --regexp-extended 's/[[:space:]]+$//g' $(git grep -I --files-with-matches --extended-regexp '[[:space:]]+$' -- src test ':!*.svg' ':!src/crypto/sha256_sse4*' ':!src/leveldb' ':!src/qt/locale' ':!src/secp256k1' ':!src/univalue')
-END VERIFY SCRIPT-
Diffstat (limited to 'src/httprpc.cpp')
| -rw-r--r-- | src/httprpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httprpc.cpp b/src/httprpc.cpp index 97b152b11..0e5b49796 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -86,7 +86,7 @@ static void JSONErrorReply(HTTPRequest* req, const UniValue& objError, const Uni //This function checks username and password against -rpcauth //entries from config file. static bool multiUserAuthorized(std::string strUserPass) -{ +{ if (strUserPass.find(':') == std::string::npos) { return false; } |