diff options
author | R E Broadley <rebroad+github@gmail.com> | 2014-05-21 18:50:46 +0800 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2014-05-22 00:23:03 +0700 |
commit | 79d06dc6e07103b31b530f71b7187ea82c34266b (patch) | |
tree | 8a01bf8e5bc367115d4b58a7969b44c35cabe096 /src/addrman.h | |
parent | 6fcdad787f1fb381a3a0fe6b1a1e45477426dccb (diff) |
Remove redundant c_str
Diffstat (limited to 'src/addrman.h')
-rw-r--r-- | src/addrman.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman.h b/src/addrman.h index e2b0cb1093..5328a93b45 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -420,7 +420,7 @@ public: Check(); } if (fRet) - LogPrint("addrman", "Added %s from %s: %i tried, %i new\n", addr.ToStringIPPort().c_str(), source.ToString().c_str(), nTried, nNew); + LogPrint("addrman", "Added %s from %s: %i tried, %i new\n", addr.ToStringIPPort().c_str(), source.ToString(), nTried, nNew); return fRet; } @@ -436,7 +436,7 @@ public: Check(); } if (nAdd) - LogPrint("addrman", "Added %i addresses from %s: %i tried, %i new\n", nAdd, source.ToString().c_str(), nTried, nNew); + LogPrint("addrman", "Added %i addresses from %s: %i tried, %i new\n", nAdd, source.ToString(), nTried, nNew); return nAdd > 0; } |