Skip to content

Commit

Permalink
Fixed backporting error (1.11 does not have the proto structures).
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed May 30, 2016
1 parent 7f627e0 commit d39cfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rr/loose.c
Expand Up @@ -239,7 +239,7 @@ static inline int is_myself(struct sip_uri* _uri)

/* known port? */
if ((port=_uri->port_no)==0)
port = protos[proto].default_port;
port = (proto==PROTO_TLS) ? SIPS_PORT : SIP_PORT;

ret = check_self(&_uri->host, port, proto);
if (ret < 0) return 0;
Expand Down

0 comments on commit d39cfb7

Please sign in to comment.