[pjsip] pj_log_func differs from pjsua_logging_config.cb

Benny Prijono bennylp at pjsip.org
Thu Nov 29 06:36:19 EST 2007


Velthoen, Arie wrote:
> Hi,
>  
> Small remark:
>  
> The signature of pj_log_func differs from pjsua_logging_config.cb in the 
> 3rd parameter:
> 
> typedef void pj_log_func(int level, const char *data, int len);
> 
> typedef struct pjsua_logging_config
> 
> {
>     ...
>     void  (*cb)(int level, const char *data, pj_size_t len);
> } pjsua_logging_config;
> 
> I noticed this when I tried to capture also the initial logging from 
> pjsua_create() and pjsua_init() with my log_writer,
> and got a compiler warning.

You're right! I've fixed this in the svn version.

thanks,
  -benny


> 
> Best regards,
> 
>  
> 
> Arie Velthoen
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Benny Prijono
http://www.pjsip.org





More information about the pjsip mailing list