diff options
author | Michael Kuron <m.kuron@gmx.de> | 2017-08-20 15:15:37 +0200 |
---|---|---|
committer | Michael Kuron <m.kuron@gmx.de> | 2017-08-22 00:35:59 -0500 |
commit | ac6a905bb2ddc461a16b3c17ef3b2daf9756820b (patch) | |
tree | 13539ea5d258167232ad548d8fa67d6834cd79a6 /include/asterisk/celt.h | |
parent | 29a8488ced5f81561a4a4edea039edc9a3c4d16b (diff) |
res_xmpp: fix inverted return code check in OAuth
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: I9ef903f80702d1218e8701f65a4e5e918e6548fb
Diffstat (limited to 'include/asterisk/celt.h')
0 files changed, 0 insertions, 0 deletions