From 71ed91106ec950734360353775b8579862ff6524 Mon Sep 17 00:00:00 2001 From: "eroman@chromium.org" Date: Fri, 15 Jan 2010 22:14:34 +0000 Subject: 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 --- net/tools/hresolv/hresolv.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/tools/hresolv') 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; } -- cgit v1.1