diff options
Diffstat (limited to 'src/alert.cpp')
| -rw-r--r-- | src/alert.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/alert.cpp b/src/alert.cpp index 7c9e54ef8..4429ecadc 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2013 The Bitcoin developers +// Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -11,7 +11,6 @@ #include "util.h" #include <algorithm> -#include <inttypes.h> #include <map> #include <boost/algorithm/string/classification.hpp> @@ -69,18 +68,18 @@ std::string CUnsignedAlert::ToString() const nExpiration, nID, nCancel, - strSetCancel.c_str(), + strSetCancel, nMinVer, nMaxVer, - strSetSubVer.c_str(), + strSetSubVer, nPriority, - strComment.c_str(), - strStatusBar.c_str()); + strComment, + strStatusBar); } void CUnsignedAlert::print() const { - LogPrintf("%s", ToString().c_str()); + LogPrintf("%s", ToString()); } void CAlert::SetNull() |