FS-4605 --resolve

This commit is contained in:
Jeff Lenk 2012-09-10 19:34:04 -05:00
parent 99eee5f528
commit d8fc88ea75
1 changed files with 2 additions and 0 deletions

View File

@ -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);