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

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Mon Sep 15 12:56:29 CDT 2014


Tzafrir Cohen created ASTERISK-24325:
----------------------------------------

             Summary: 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

[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.

The code in question:

        if (ne_version_match(0, 29)) {                                          
                ast_log(LOG_ERROR, "Exchange Web Service calendar module require
                return AST_MODULE_LOAD_DECLINE;                                 
        }

ne_version_match is:

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);                
}                                                                               

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