[asterisk-bugs] [JIRA] (ASTERISK-24325) res_calendar_ews: cannot be used with neon 0.30

Walter Doekes (JIRA) noreply at issues.asterisk.org
Sun Oct 12 02:47:29 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Walter Doekes closed ASTERISK-24325.
------------------------------------


> res_calendar_ews: cannot be used with neon 0.30
> -----------------------------------------------
>
>                 Key: ASTERISK-24325
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24325
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_calendar_ews
>    Affects Versions: SVN
>            Reporter: Tzafrir Cohen
>
> See [http://bugs.debian.org/761677]
> {noformat}
> [Sep 15 18:57:16] ERROR[3196] res_calendar_ews.c: Exchange Web Service calendar module require neon >= 0.29.1, but neon 0.30.0: Library build,  IPv6, libxml 2.9.1, zlib 1.2.8, GNU TLS 3.2.16. is installed.
> {noformat}
> The code in question:
> {noformat}
>         if (ne_version_match(0, 29)) {                                          
>                 ast_log(LOG_ERROR, "Exchange Web Service calendar module require
>                 return AST_MODULE_LOAD_DECLINE;                                 
>         }
> {noformat}
> {{ne_version_match}} is:
> {noformat}
> int ne_version_match(int major, int minor)                                      
> {                                                                               
>     return NE_VERSION_MAJOR != major || NE_VERSION_MINOR < minor                
>         || (NE_VERSION_MAJOR == 0 && NE_VERSION_MINOR != minor);                
> }                                                                               
> {noformat}
> See [http://sources.debian.net/src/neon27/0.30.0-2/src/ne_utils.c/?hl=132#L132]
> So the problem is that the test is for major != 29 rather than for major >= 29. Any reason to exclude neon 0.30?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list