mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8582 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d9bdd7db0b
commit
c1bf2c2099
@ -149,7 +149,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_connect(switch_odbc_hand
|
|||||||
} else {
|
} else {
|
||||||
SQLCHAR outstr[1024] = {0};
|
SQLCHAR outstr[1024] = {0};
|
||||||
SQLSMALLINT outstrlen = 0;
|
SQLSMALLINT outstrlen = 0;
|
||||||
result = SQLDriverConnect(handle->con, NULL, (SQLCHAR *) handle->dsn, strlen(handle->dsn), outstr, sizeof(outstr), &outstrlen, SQL_DRIVER_NOPROMPT);
|
result = SQLDriverConnect(handle->con, NULL, (SQLCHAR *) handle->dsn, (SQLSMALLINT)strlen(handle->dsn), outstr, sizeof(outstr), &outstrlen, SQL_DRIVER_NOPROMPT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((result != SQL_SUCCESS) && (result != SQL_SUCCESS_WITH_INFO)) {
|
if ((result != SQL_SUCCESS) && (result != SQL_SUCCESS_WITH_INFO)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user