]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7256 : Unable to load mod_java.
authorVineet Chaudhary <code.vineet@gmail.com>
Tue, 10 Feb 2015 07:13:26 +0000 (12:43 +0530)
committerVineet Chaudhary <code.vineet@gmail.com>
Tue, 10 Feb 2015 07:13:26 +0000 (12:43 +0530)
commitadccf499ad643f60a4c574437ace3cec8768926c
treeec0d2aa8d7abe11676e8876f7f2392adbee3d0d0
parent6afbc05f4f4bab08dcd026cbed5803e2ef613317
FS-7256 : Unable to load mod_java.

FS not able to load mod_java because in load_config switch_status_t status
is not initialised and in some conditions status is not gets set ever
resulting returning garbage value, resulting failuar to load mod_java.so.

With this patch status is set to SWITCH_STATUS_SUCCESS so in case everything
is loaded it can load mod_java else status is set to SWITCH_STATUS_FALSE(which
is already covered).
src/mod/languages/mod_java/modjava.c