mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-25 02:51:30 +00:00
FS-4605 --resolve
This commit is contained in:
parent
98a7d292f4
commit
2b334d571f
@ -12,6 +12,7 @@ void eslSetLogLevel(int level)
|
||||
ESLconnection::ESLconnection(const char *host, const char *port, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
if (port == NULL) return;
|
||||
int x_port = atoi(port);
|
||||
|
||||
esl_connect(&handle, host, x_port, NULL, password);
|
||||
@ -20,6 +21,7 @@ ESLconnection::ESLconnection(const char *host, const char *port, const char *pas
|
||||
ESLconnection::ESLconnection(const char *host, const char *port, const char *user, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
if (port == NULL) return;
|
||||
int x_port = atoi(port);
|
||||
|
||||
esl_connect(&handle, host, x_port, user, password);
|
||||
|
Loading…
x
Reference in New Issue
Block a user