]>
Commit | Line | Data |
---|---|---|
3ff65596 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
bbc27441 AJ |
3 | * |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
3ff65596 AR |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 78 DNS lookups */ |
10 | ||
f7f3304a | 11 | #include "squid.h" |
4a3b98d7 | 12 | #include "dns/LookupDetails.h" |
3ff65596 AR |
13 | |
14 | std::ostream & | |
4a3b98d7 | 15 | Dns::LookupDetails::print(std::ostream &os) const |
3ff65596 AR |
16 | { |
17 | if (wait > 0) | |
18 | os << "lookup_wait=" << wait; | |
19 | if (error.size()) | |
20 | os << " lookup_err=" << error; | |
21 | return os; | |
22 | } | |
f53969cc | 23 |