Summary: | ASTERISK-24325: res_calendar_ews: cannot be used with neon 0.30 | ||||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |||
Date Opened: | 2014-09-15 12:54:39 | Date Closed: | 2014-10-12 02:40:48 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | Resources/res_calendar_ews | ||
Versions: | SVN | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Attachments: | ||||
Description: | 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? | ||||
Comments: | By: Matt Jordan (mjordan) 2014-09-15 15:28:15.285-0500 No, I'm pretty sure that check was supposed to mean that {{res_calendar_ews}} required 0.29 or later. |