-rw-r--r-- | test/idiscover.cc | 6 |
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) { | |||
38 | << "Canonicalized ID: " << discovery.canonicalized_id << endl | 38 | << "Canonicalized ID: " << discovery.canonicalized_id << endl |
39 | << "The identity is " << (discovery.xri_identity?"":"not ") << "an i-name" << endl | 39 | << "The identity is " << (discovery.xri_identity?"":"not ") << "an i-name" << endl; |
40 | << endl | 40 | if(discovery.xrd.expires) |
41 | clog << "Information expires in " << discovery.xrd.expires-time(0) << " seconds" << endl; | ||
42 | clog << endl | ||
41 | << "CanonicalID: " << discovery.xrd.canonical_ids << endl | 43 | << "CanonicalID: " << discovery.xrd.canonical_ids << endl |