mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Twould help if we actually documented how the new features in res_odbc actually work. (Oops)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -235,7 +235,8 @@ static int load_odbc_config(void)
|
||||
limit = 0;
|
||||
for (v = ast_variable_browse(config, cat); v; v = v->next) {
|
||||
if (!strcasecmp(v->name, "pooling")) {
|
||||
pooling = 1;
|
||||
if (ast_true(v->value))
|
||||
pooling = 1;
|
||||
} else if (!strcasecmp(v->name, "limit")) {
|
||||
sscanf(v->value, "%d", &limit);
|
||||
if (ast_true(v->value) && !limit) {
|
||||
|
Reference in New Issue
Block a user