From ce3d56920b15facbb64b3caf0d823a3f57c0dded Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 22 Dec 2017 09:14:07 -0500 Subject: Remove as much trailing whitespace as possible. Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0 --- res/res_config_odbc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'res/res_config_odbc.c') diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 583a84558..e86445088 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -145,7 +145,7 @@ static SQLHSTMT custom_prepare(struct odbc_obj *obj, void *data) ENCODE_CHUNK(encodebuf, newval); ast_string_field_set(cps, encoding[x], encodebuf); newval = cps->encoding[x]; - } + } SQLBindParameter(stmt, x++, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_CHAR, strlen(newval), 0, (void *)newval, 0, NULL); } @@ -245,7 +245,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl for (x = 0; x < colcount; x++) { colsize = 0; collen = sizeof(coltitle); - res = SQLDescribeCol(stmt, x + 1, (unsigned char *)coltitle, sizeof(coltitle), &collen, + res = SQLDescribeCol(stmt, x + 1, (unsigned char *)coltitle, sizeof(coltitle), &collen, &datatype, &colsize, &decimaldigits, &nullable); if ((res != SQL_SUCCESS) && (res != SQL_SUCCESS_WITH_INFO)) { ast_log(LOG_WARNING, "SQL Describe Column error! [%s]\n", ast_str_buffer(sql)); @@ -315,7 +315,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl * \param ap list containing one or more field/operator/value set. * * Select database and preform query on table, prepare the sql statement - * Sub-in the values to the prepared statement and execute it. + * Sub-in the values to the prepared statement and execute it. * Execute this prepared query against several ODBC connected databases. * Return results as an ast_config variable. * @@ -416,7 +416,7 @@ static struct ast_config *realtime_multi_odbc(const char *database, const char * for (x=0;x