diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-22 03:12:17 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-10-22 03:12:17 +0000 |
commit | 75599c5393eeba613102f3731c7c5b2d9007ce07 (patch) | |
tree | 9d82b2cfa9fa9fbfc41b871202f8e6b0605cafab /apps | |
parent | f73e89bcde023304b6e19658cfb0dfd6064efa76 (diff) |
Small SQL fix (bug #412)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1648 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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; } |