[OpenSER-Devel] uandd_to_uri problem

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


Hello,

I already noticed that it did not appear in the latest version of the 
1.2.x brances :) .

Toni Barata wrote:

>Hi Anca,
>
>Sorry but the DBG line has been added by myself. You don't need to fix
>the 1.2.x branches.
>
>Best Regards,
>Toni  
>
>-----Original Message-----
>From: Anca-Maria Vamanu [mailto:anca at voice-system.ro] 
>Sent: quinta-feira, 5 de Julho de 2007 10:24
>To: Toni Barata
>Cc: devel at openser.org
>Subject: Re: [OpenSER-Devel] uandd_to_uri problem
>
>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