diff options
author | Mark Spencer <markster@digium.com> | 2003-10-22 03:12:17 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-10-22 03:12:17 +0000 |
commit | a6b382fa40da25f720dccd22605cec50c3e115ba (patch) | |
tree | 9d82b2cfa9fa9fbfc41b871202f8e6b0605cafab | |
parent | 8ea87da749779881a3ab6621b2b07c24301248d9 (diff) |
Small SQL fix (bug #412)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | apps/app_voicemail2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 2f8b16510..1a14708bf 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -2926,9 +2926,10 @@ int load_module(void) return(res); } + if ((res = sql_init())) { ast_log(LOG_WARNING, "SQL init\n"); - if ((res = sql_init())) return res; + } return res; } |