X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=common%2Ftr_comm_encoders.c;h=bd3278e5405d9afe4fae0227a6c6e15da41f1b3b;hp=8a5a9b66136bf4b5b39ff73c451f1c371ccde429;hb=dd90d231263fc3dde5f538a5a83d88dd701ed178;hpb=81c77ab872340d96b75232dbeeba6e23a58d8088 diff --git a/common/tr_comm_encoders.c b/common/tr_comm_encoders.c index 8a5a9b6..bd3278e 100644 --- a/common/tr_comm_encoders.c +++ b/common/tr_comm_encoders.c @@ -183,6 +183,8 @@ static json_t *tr_comm_realms_to_json(TR_COMM_TABLE *ctable, TR_NAME *comm_name, iter = tr_comm_iter_new(NULL); realm = tr_realm_iter_first(iter, ctable, comm_name); + + /* Do not display the full realm json here, only the name and info relevant to the community listing */ while(realm) { if (realm->role == role) { realm_json = json_object();