cleanup and fix disconnect race

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11078 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-01-06 00:18:57 +00:00
parent dace6b6bb9
commit bbac44c53a
2 changed files with 15 additions and 6 deletions

View File

@@ -618,6 +618,7 @@ int main(int argc, char *argv[])
}
if (esl_connect(&handle, profile->host, profile->port, profile->pass)) {
esl_global_set_default_logger(3);
esl_log(ESL_LOG_ERROR, "Error Connecting [%s]\n", handle.err);
return -1;
}