1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2011-01-05 12:17:09 +00:00
parent 7c1654c5dd
commit 442846f4c0
1 changed files with 3 additions and 2 deletions

View File

@ -66,15 +66,16 @@ static int pgq_init_module(Octstr *conninfo, char *xtopdir, int max_connections)
/* Now look for flags */ /* Now look for flags */
if ((i = octstr_search_char(xcinfo, ';', 0)) > 0) { if ((i = octstr_search_char(xcinfo, ';', 0)) > 0) {
Octstr *x = octstr_copy(xcinfo, i+1, octstr_len(xcinfo)); Octstr *x = octstr_copy(xcinfo, 0, i);
octstr_delete(xcinfo, i, octstr_len(xcinfo)); octstr_delete(xcinfo, 0, i+1);
if (octstr_case_search(x, octstr_imm("internal"), 0) >= 0) if (octstr_case_search(x, octstr_imm("internal"), 0) >= 0)
external_storage = 0; external_storage = 0;
if (octstr_case_search(x, octstr_imm("no-archive"), 0) >= 0) if (octstr_case_search(x, octstr_imm("no-archive"), 0) >= 0)
archive_msgs = 0; archive_msgs = 0;
octstr_strip_blanks(xcinfo);
octstr_destroy(x); octstr_destroy(x);
} }
max_conns = max_connections + 1; max_conns = max_connections + 1;