diff options
Diffstat (limited to 'net/tools/hresolv/hresolv.cc')
-rw-r--r-- | net/tools/hresolv/hresolv.cc | 8 |
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; } |