From 6df35fcae9bf3155cecfdf6f777577e209084060 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Wed, 17 Mar 2021 20:14:49 +1300 Subject: [PATCH] Fix one segfault on Arch. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 6376df5..901548c 100644 --- a/src/main.c +++ b/src/main.c @@ -352,7 +352,7 @@ struct page *referer = NULL; int use_espeak = 0; char *logpath = NULL; -char *mimes = "text/html text/xml application/xml application/xhtml+xml text/plain"; +char *mimes; FILE *fd_ssml = NULL; FILE *fd_links = NULL; @@ -424,6 +424,7 @@ int main(int argc, char **argv) { SPDConnection *spd_conn = NULL; #endif GstElement *stt_pipeline = NULL; + mimes = "text/html text/xml application/xml application/xhtml+xml text/plain"; int c; opterr = 0; -- 2.30.2