[sr-dev] why sip_msg is passed to is_uri_user_e164?

Juha Heinanen jh at tutpro.com
Sun Dec 4 12:12:22 CET 2011


while doing a faster version of is_uri_user_e164, i noticed that the
code had been recently changed.  in particular, struct sip_msg is now
passed as argument to

int is_uri_user_e164(struct sip_msg* msg, str *uri);

why is that, because the function makes no reference to msg?  can i
remove it?

-- juha



More information about the sr-dev mailing list