mirror of https://github.com/c-ares/c-ares.git
ares-test.cc: Handle nullptr in AddrInfo ostream. (#268)
The const AddrInfo& argument to operator<< overload for AddrInfo can be a nullptr unique_ptr. Handle this explicitly by printing {nullptr} if the rest of the function cannot be safely executed. Fix-by: Dan Noé <dpn@google.com>pull/269/head
parent
33ed2aa6d1
commit
1cd0a36f6e