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:[EMAIL PROTECTED] Sent: quinta-feira, 5 de Julho de 2007 10:24 To: Toni Barata Cc: devel@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@openser.org >http://openser.org/cgi-bin/mailman/listinfo/devel > > _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel