[OpenSER-Devel] uandd_to_uri problem

Toni Barata toni-r-barata at ptinovacao.pt
Wed Jul 4 18:55:24 CEST 2007


Hi Anca,

 

Inside the function "is_watcher_allowed" on notify.c (1.2.x) the value
of "w_uri" affected by the function "uandd_to_uri" is different of NULL
but has no value (no URI).

 

        uandd_to_uri(subs->from_user, subs->from_domain, &w_uri);

        if(w_uri.s == NULL)

        {

                LOG(L_ERR, "PRESENCE: is_watcher_allowed:Error while
creating uri\n");

                return NULL;

        }

 

        DBG("PRESENCE:is_watcher_allowed:URI =
%*.s\n",w_uri.len,w_uri.s);

 

Is the debug message malformed or there is really an issue here?

 

Best regards,

Toni

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20070704/2b61a813/attachment.htm


More information about the Devel mailing list