Changeset 5996
- Timestamp:
- May 21, 2019 3:17:11 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/srv_resolver.c
r5981 r5996 240 240 } 241 241 242 if (rr->rdata.srv.target.slen == 0) { 243 PJ_LOG(4,(query_job->objname, "Hostname is empty!")); 244 continue; 245 } 246 242 247 /* Build the SRV entry for RR */ 243 248 pj_bzero(srv, sizeof(*srv)); … … 611 616 * an A record and resolve with DNS A resolution. 612 617 */ 613 if (query_job->srv_cnt == 0 ) {618 if (query_job->srv_cnt == 0 && query_job->domain_part.slen > 0) { 614 619 unsigned new_option = 0; 615 620
Note: See TracChangeset
for help on using the changeset viewer.