Skip to content

Commit

Permalink
modules/topos: fix warning: comparison between pointer and integer [e…
Browse files Browse the repository at this point in the history
…nabled by default]
  • Loading branch information
ovidiusas committed Mar 14, 2016
1 parent ac989df commit b4d1206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/topos/tps_msg.c
Expand Up @@ -382,7 +382,7 @@ int tps_pack_request(sip_msg_t *msg, tps_data_t *ptsd)
ptsd->bs_contact.s = ptsd->cp;
ptsd->bs_contact.len = rr->nameaddr.uri.len;
if(strnstr(ptsd->bs_contact.s, ";r2=on",
ptsd->bs_contact.len)==NULL) {
ptsd->bs_contact.len)==0) {
LM_DBG("single record routing by proxy\n");
ptsd->as_contact.s = ptsd->cp;
ptsd->as_contact.len = rr->nameaddr.uri.len;
Expand Down

0 comments on commit b4d1206

Please sign in to comment.