summaryrefslogtreecommitdiffabout
path: root/test/idiscover.cc
Side-by-side diff
Diffstat (limited to 'test/idiscover.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--test/idiscover.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/idiscover.cc b/test/idiscover.cc
index 05cbcae..873da12 100644
--- a/test/idiscover.cc
+++ b/test/idiscover.cc
@@ -38,4 +38,6 @@ int main(int argc,char **argv) {
<< "Canonicalized ID: " << discovery.canonicalized_id << endl
- << "The identity is " << (discovery.xri_identity?"":"not ") << "an i-name" << endl
- << endl
+ << "The identity is " << (discovery.xri_identity?"":"not ") << "an i-name" << endl;
+ if(discovery.xrd.expires)
+ clog << "Information expires in " << discovery.xrd.expires-time(0) << " seconds" << endl;
+ clog << endl
<< "CanonicalID: " << discovery.xrd.canonical_ids << endl