pj_log_func differs from pjsua_logging_config.cb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux