diff options
author | Michael McVady <femtonaut@gmail.com> | 2024-01-12 16:02:15 -0600 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2024-01-12 16:02:15 -0600 |
commit | 660d6e73218229c6ac08ac2b7a19819169529fc8 (patch) | |
tree | 7fb2471c2f1161643b9083a9ca0b900834507ecc /src/clog.c | |
parent | d7f423861facdbf3745988a20f576bbf50d6d381 (diff) |
Start implementing search
Diffstat (limited to 'src/clog.c')
-rw-r--r-- | src/clog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -490,8 +490,8 @@ int sql_update(const char *id, const char *title, const char *body) { } err = kore_pgsql_query_params( - &sql, q_update_entry, 0, 3, KORE_PGSQL_PARAM_TEXT(title), KORE_PGSQL_PARAM_TEXT(body), - KORE_PGSQL_PARAM_TEXT(id) + &sql, q_update_entry, 0, 4, KORE_PGSQL_PARAM_TEXT(title), KORE_PGSQL_PARAM_TEXT(body), + KORE_PGSQL_PARAM_TEXT(body), KORE_PGSQL_PARAM_TEXT(id) ); if (err == KORE_RESULT_ERROR) { kore_pgsql_logerror(&sql); |