aboutsummaryrefslogtreecommitdiff
path: root/src/utilstrencodings.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-11-17 17:16:26 +0100
committerWladimir J. van der Laan <[email protected]>2014-11-17 17:17:46 +0100
commit1f0436f8cbb4d95c7644e9abb7eb6853332c31b1 (patch)
tree234035a695b31ee73840a08b010ec9aea3c0b361 /src/utilstrencodings.cpp
parentMerge pull request #5289 (diff)
parentUpdate comments in util to be doxygen compatible (diff)
downloaddiscoin-1f0436f8cbb4d95c7644e9abb7eb6853332c31b1.tar.xz
discoin-1f0436f8cbb4d95c7644e9abb7eb6853332c31b1.zip
Merge pull request #5293
c63a73d Update comments in util to be doxygen compatible (Michael Ford)
Diffstat (limited to 'src/utilstrencodings.cpp')
-rw-r--r--src/utilstrencodings.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/utilstrencodings.cpp b/src/utilstrencodings.cpp
index 15094e599..a961b3c5c 100644
--- a/src/utilstrencodings.cpp
+++ b/src/utilstrencodings.cpp
@@ -1,6 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
-// Distributed under the MIT/X11 software license, see the accompanying
+// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "utilstrencodings.h"
@@ -14,8 +14,10 @@
using namespace std;
-// safeChars chosen to allow simple messages/URLs/email addresses, but avoid anything
-// even possibly remotely dangerous like & or >
+/**
+ * safeChars chosen to allow simple messages/URLs/email addresses, but avoid anything
+ * even possibly remotely dangerous like & or >
+ */
static string safeChars("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890 .,;_/:?@()");
string SanitizeString(const string& str)
{