We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7443c commit 589c982Copy full SHA for 589c982
libsofia-sip-ua/stun/stun_dns.c
@@ -92,7 +92,7 @@ static void priv_sres_cb(stun_dns_lookup_t *self,
92
93
for (i = 0; answer && answer[i] != NULL; i++) {
94
sres_srv_record_t *rr = (sres_srv_record_t *) answer[i]->sr_srv;
95
- if (rr && rr->srv_record && rr->srv_record->r_type == sres_type_srv) {
+ if (rr && rr->srv_record->r_type == sres_type_srv) {
96
const char *tcp_name = STUN_SRV_SERVICE_TCP;
97
const char *udp_name = STUN_SRV_SERVICE_UDP;
98
if ((self->stun_state & stun_dns_tls) == 0 &&
0 commit comments