From 58383f07af80dfd5b5c18e5158291c3d8caefbe7 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 13 Dec 2007 18:33:20 +0000 Subject: keep track of whether the identity being discovered is XRI Signed-off-by: Michael Krelin --- (limited to 'test') diff --git a/test/idiscover.cc b/test/idiscover.cc index 2abedc9..05cbcae 100644 --- a/test/idiscover.cc +++ b/test/idiscover.cc @@ -36,6 +36,7 @@ int main(int argc,char **argv) { << "User-supplied ID: " << argv[a] << endl << "Normalized ID: " << discovery.normalized_id << endl << "Canonicalized ID: " << discovery.canonicalized_id << endl + << "The identity is " << (discovery.xri_identity?"":"not ") << "an i-name" << endl << endl << "CanonicalID: " << discovery.xrd.canonical_ids << endl << "LocalID: " << discovery.xrd.local_ids << endl -- cgit v0.9.0.2