Skip to content

Commit f2136b1

Browse files
committed
odbc: Fix indentation in sql2tds
Code is indented with tabs, not spaces. Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
1 parent b494b78 commit f2136b1

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/odbc/sql2tds.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ convert_datetime2server(int bindtype, const void *src, TDS_DATETIMEALL * dta)
6969
#if HAVE_GETTIMEOFDAY
7070
{
7171
struct timeval tv;
72-
gettimeofday(&tv, NULL);
73-
curr_time = tv.tv_sec;
72+
73+
gettimeofday(&tv, NULL);
74+
curr_time = tv.tv_sec;
7475
}
7576
#else
7677
curr_time = time(NULL);
@@ -145,8 +146,8 @@ odbc_wstr2str(TDS_STMT * stmt, const char *src, int* len)
145146
return NULL;
146147
}
147148

148-
/* convert */
149-
p = out;
149+
/* convert */
150+
p = out;
150151
for (; srclen && *wp < 256; --srclen)
151152
*p++ = (char) *wp++;
152153

@@ -165,10 +166,10 @@ odbc_wstr2str(TDS_STMT * stmt, const char *src, int* len)
165166
static void
166167
_odbc_blob_free(TDSCOLUMN *col)
167168
{
168-
if (!col->column_data)
169-
return;
169+
if (!col->column_data)
170+
return;
170171

171-
TDS_ZERO_FREE(col->column_data);
172+
TDS_ZERO_FREE(col->column_data);
172173
}
173174

174175
static SQLRETURN

0 commit comments

Comments
 (0)