Merge pull request #1257 in FS/freeswitch from bugfix/FS-10228 to master

* commit 'd3e78c3cad2a445b2d56261116ad5f8fa219ccba':
  FS-10228: [switch_pgsql] Avoiding double openssl initialization when using core pgsql
This commit is contained in:
Mike Jerris 2017-04-24 21:38:22 +00:00
commit 4440d6f495
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ SWITCH_DECLARE(switch_pgsql_status_t) switch_pgsql_handle_connect(switch_pgsql_h
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG1, "Connecting %s\n", handle->dsn);
PQinitSSL(0);
handle->con = PQconnectdb(handle->dsn);
if (PQstatus(handle->con) != CONNECTION_OK) {
char *err_str;