From 5fd17e2abfdde40461e7b85b2cae60e275837d58 Mon Sep 17 00:00:00 2001 From: Alexey Romanov Date: Fri, 14 Sep 2012 16:15:46 +0400 Subject: [PATCH] Fixed formatting --- c_src/sqlite3_drv.c | 2 +- test/sqlite3_test.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c_src/sqlite3_drv.c b/c_src/sqlite3_drv.c index 309d67c..101d7ef 100644 --- a/c_src/sqlite3_drv.c +++ b/c_src/sqlite3_drv.c @@ -357,7 +357,7 @@ static inline int decode_and_bind_param( // include space for null separator char_buf_val = driver_alloc((*p_size + 1) * sizeof(char)); ei_decode_string(buffer, p_index, char_buf_val); - result = sqlite3_bind_text(statement, param_index, char_buf_val, *p_size, &driver_free_fun); + result = sqlite3_bind_text(statement, param_index, char_buf_val, *p_size, &driver_free_fun); break; case ERL_BINARY_EXT: char_buf_val = driver_alloc(*p_size * sizeof(char)); diff --git a/test/sqlite3_test.erl b/test/sqlite3_test.erl index f35297c..c740dcb 100644 --- a/test/sqlite3_test.erl +++ b/test/sqlite3_test.erl @@ -51,7 +51,7 @@ all_test_() -> ?FuncTest(unicode), ?FuncTest(acc_string_encoding), ?FuncTest(large_offset), - ?FuncTest(issue13)]}. + ?FuncTest(issue13)]}. open_db() -> sqlite3:open(ct, [in_memory]).