summaryrefslogtreecommitdiffabout
path: root/lib
Unidiff
Diffstat (limited to 'lib') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/discovery.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/discovery.cc b/lib/discovery.cc
index 26f3eed..b4ed3b6 100644
--- a/lib/discovery.cc
+++ b/lib/discovery.cc
@@ -572,34 +572,34 @@ namespace opkele {
572 }else{ 572 }else{
573 if(svc.local_ids.empty()) { 573 if(svc.local_ids.empty()) {
574 ep.local_id = ep.claimed_id; 574 ep.local_id = ep.claimed_id;
575 *(oi++) = ep; 575 *(oi++) = ep;
576 }else{ 576 }else{
577 for(xrd::local_ids_t::const_iterator ilid=svc.local_ids.begin(); 577 for(xrd::local_ids_t::const_iterator ilid=svc.local_ids.begin();
578 ilid!=svc.local_ids.end(); ++ilid) { 578 ilid!=svc.local_ids.end(); ++ilid) {
579 ep.local_id = ilid->second; 579 ep.local_id = ilid->second;
580 *(oi++) = ep; 580 *(oi++) = ep;
581 } 581 }
582 } 582 }
583 } 583 }
584 } 584 }
585 } 585 }
586 } 586 }
587 587
588 int unknown_encoding(const XML_Char *n,XML_Encoding *i) { 588 int unknown_encoding(const XML_Char* /* n */,XML_Encoding *i) {
589 for(int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii) 589 for(unsigned int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii)
590 i->map[ii] = ii; 590 i->map[ii] = ii;
591 i->convert = 0; i->release = 0; 591 i->convert = 0; i->release = 0;
592 return XML_STATUS_OK; 592 return XML_STATUS_OK;
593 } 593 }
594 594
595 }; 595 };
596 596
597 string idiscover(endpoint_discovery_iterator oi,const string& identity) { 597 string idiscover(endpoint_discovery_iterator oi,const string& identity) {
598 idigger_t idigger; 598 idigger_t idigger;
599 return idigger.discover(oi,identity); 599 return idigger.discover(oi,identity);
600 } 600 }
601 601
602 void yadiscover(endpoint_discovery_iterator oi,const string& yurl,const char **types,bool redirs) try { 602 void yadiscover(endpoint_discovery_iterator oi,const string& yurl,const char **types,bool redirs) try {
603 idigger_t idigger; 603 idigger_t idigger;
604 idigger.yadiscover(oi,yurl,types,redirs); 604 idigger.yadiscover(oi,yurl,types,redirs);
605 }catch(exception_curl& ec) { 605 }catch(exception_curl& ec) {