tweaks for wideband tests

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1883 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-07-14 19:42:09 +00:00
parent 2b4ddd0576
commit 4aab8842cd
4 changed files with 124 additions and 36 deletions

View File

@@ -1007,7 +1007,7 @@ static char *find_reg_url(switch_core_db_t *db, char *key, char *val, switch_siz
struct callback_t cbt = {0};
char buf[1024];
char *host = NULL;
if (db) {
udb = db;
} else {
@@ -1028,6 +1028,7 @@ static char *find_reg_url(switch_core_db_t *db, char *key, char *val, switch_siz
} else {
snprintf(val, len, "select url from sip_registrations where key='%s'", key);
}
switch_core_db_exec(udb, val, find_callback, &cbt, &errmsg);
if (errmsg) {