summary refs log tree commit diff
path: root/server.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-11 18:07:33 -0400
committerJune McEnroe <june@causal.agency>2020-07-11 18:07:33 -0400
commit5d857422687068526d6477073ef83630ffcf0c1e (patch)
tree0ccc0a277ca4166bdd0d007bf7bee1f6a4393bab /server.h
parentHandle KCGI_EXIT and call khttp_fcgi_free (diff)
downloadscooper-5d857422687068526d6477073ef83630ffcf0c1e.tar.gz
scooper-5d857422687068526d6477073ef83630ffcf0c1e.zip
Clean up page handlers
Diffstat (limited to '')
-rw-r--r--server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.h b/server.h
index 437a041..c3e274e 100644
--- a/server.h
+++ b/server.h
@@ -31,6 +31,9 @@
 
 #define SQL(...) #__VA_ARGS__
 
+// Why does it return (const unsigned char *)?
+#define sqlite3_column_text(...) (const char *)sqlite3_column_text(__VA_ARGS__)
+
 enum { DatabaseVersion = 5 };
 
 #define ENUM_TYPE \