[OpenSER-Devel] uandd_to_uri problem

Anca-Maria Vamanu anca at voice-system.ro
Thu Jul 5 11:23:36 CEST 2007


Hello,

The DGB line is malformed as you have correctly assumed. It is a typo 
error there - it should be %.*s instead of %*.s . I noticed that the 
line has been removed altogether in the trunk version. I will fix it in 
the 1.2.x branches.

regards,

Anca

Toni Barata wrote:

> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>  
>




More information about the Devel mailing list