mirror of http://gerrit.asterisk.org/asterisk
fetch_access_token calls func_curl via ast_func_read. The latter returns 0 upon success and -1 if the function is not available. This commit inverts the return code check so that an error is printed if the module is not loaded and not if it is loaded. ASTERISK-27207 #close Change-Id: I9ef903f80702d1218e8701f65a4e5e918e6548fbchanges/53/6253/2
parent
29a8488ced
commit
ac6a905bb2
Loading…
Reference in new issue