summaryrefslogtreecommitdiffstats
path: root/net/tools/hresolv
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 22:14:34 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 22:14:34 +0000
commit71ed91106ec950734360353775b8579862ff6524 (patch)
treeaa7ca3b450184a39e2d71a9e07847634e075762e /net/tools/hresolv
parent421e6141a78f759837e9caa7a5310fb4aa4465d5 (diff)
downloadchromium_src-71ed91106ec950734360353775b8579862ff6524.zip
chromium_src-71ed91106ec950734360353775b8579862ff6524.tar.gz
chromium_src-71ed91106ec950734360353775b8579862ff6524.tar.bz2
Cleanup: change some |str += StringPrintf(...)| --> |StringAppendF(&str, ...)|.
BUG=none TEST=none Review URL: http://codereview.chromium.org/550030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/hresolv')
-rw-r--r--net/tools/hresolv/hresolv.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc
index 6581bdc..f865a53 100644
--- a/net/tools/hresolv/hresolv.cc
+++ b/net/tools/hresolv/hresolv.cc
@@ -68,10 +68,10 @@ std::string FormatAddrinfoFlags(int ai_flags) {
}
}
if (ai_flags) {
- if (!flag_names.empty()) {
- flag_names += "|";
- }
- flag_names += StringPrintf("0x%x", ai_flags);
+ if (!flag_names.empty()) {
+ flag_names += "|";
+ }
+ StringAppendF(&flag_names, "0x%x", ai_flags);
}
return flag_names;
}