-rw-r--r-- | test/idiscover.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/idiscover.cc b/test/idiscover.cc index 873da12..d9a7c62 100644 --- a/test/idiscover.cc +++ b/test/idiscover.cc @@ -20,9 +20,10 @@ ostream& operator<<(ostream& o,const opkele::xrd::service_t s) { copy(s.types.begin(),s.types.end(), ostream_iterator<string>(o," ")); o << endl << " URI: " << s.uris << endl - << " LocalID: " << s.local_ids << endl; + << " LocalID: " << s.local_ids << endl + << " ProviderID: " << s.provider_id << endl; o << "}"; } int main(int argc,char **argv) { @@ -41,8 +42,9 @@ int main(int argc,char **argv) { clog << "Information expires in " << discovery.xrd.expires-time(0) << " seconds" << endl; clog << endl << "CanonicalID: " << discovery.xrd.canonical_ids << endl << "LocalID: " << discovery.xrd.local_ids << endl + << "ProviderID: " << discovery.xrd.provider_id << endl << "Services: " << discovery.xrd.services << endl; } }catch(exception& e) { cerr << "oops: " << e.what() << endl; |