kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 19b7f75b908d65cfd3fc1337cdeaed79f2f7fa2e
parent ae9694fb1d3b07ebccbf4f9e229bf0e7a4891bdb
Author: Joris Vink <joris@coders.se>
Date:   Thu,  1 Jun 2017 10:10:54 +0200

change up a comment that is wrong.

Diffstat:
examples/pgsql-sync/src/pgsql-sync.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/examples/pgsql-sync/src/pgsql-sync.c b/examples/pgsql-sync/src/pgsql-sync.c @@ -55,8 +55,7 @@ page(struct http_request *req) * Initialise our kore_pgsql data structure with the database name * we want to connect to (note that we registered this earlier with * kore_pgsql_register()). We also say we will perform a synchronous - * query (KORE_PGSQL_SYNC) and we do not need to pass our http_request - * so we pass NULL instead. + * query (KORE_PGSQL_SYNC). */ if (!kore_pgsql_setup(&sql, "db", KORE_PGSQL_SYNC)) { kore_pgsql_logerror(&sql);