aboutsummaryrefslogtreecommitdiff
path: root/src/clog.c
diff options
context:
space:
mode:
authorMichael McVady <femtonaut@gmail.com>2024-01-13 15:28:50 -0600
committerMichael McVady <femtonaut@gmail.com>2024-01-13 15:28:50 -0600
commit53e31bbbd4e77ff08d697d1a848bccf044172432 (patch)
treeaa35389ef60faab35f181f801bf08f51a7b5cce6 /src/clog.c
parent03d844b1610d4720305fbbc980620f569372ad5a (diff)
Fold search into index
Diffstat (limited to 'src/clog.c')
-rw-r--r--src/clog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clog.c b/src/clog.c
index ef009fc..c018565 100644
--- a/src/clog.c
+++ b/src/clog.c
@@ -213,7 +213,7 @@ int redirect(struct http_request *req) {
int get_index(struct http_request *req) {
int err = 0;
size_t i = 0;
- const char *query = NULL;
+ char *query = NULL;
struct entry_query eq;
struct kore_buf *content = NULL;