aboutsummaryrefslogtreecommitdiff
path: root/src/toast.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-09-11 23:14:54 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-09-11 23:14:54 +0200
commiteadeb9f2a13577d6cd532b2a1bd306710136322a (patch)
treec8317cc0eb0ca7a9e017d92d9f7472e0966f92c0 /src/toast.c
parent37de0cc7b0eeeefcc25173913faaefa2a7673d2c (diff)
downloadOFQT-eadeb9f2a13577d6cd532b2a1bd306710136322a.tar.gz
OFQT-eadeb9f2a13577d6cd532b2a1bd306710136322a.zip
move over to official cmake packages, fix data race in qt frontend
Diffstat (limited to 'src/toast.c')
-rw-r--r--src/toast.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/toast.c b/src/toast.c
index 0d3ac3a..9d184e5 100644
--- a/src/toast.c
+++ b/src/toast.c
@@ -3,7 +3,7 @@
#include <string.h>
#include <stdio.h>
#include <assert.h>
-#include <json.h>
+#include <json-c/json.h>
#include <md5.h>
#if defined(_WIN32)
@@ -17,8 +17,8 @@
#include "net.h"
#include "toast.h"
-#ifdef TOAST_DEFAULT_REMOTE
-#define TOAST_DEFAULT_REMOTE "http://toast.openfortress.fun/toast"
+#ifndef TOAST_DEFAULT_REMOTE
+#define TOAST_DEFAULT_REMOTE "https://toast.openfortress.fun/toast"
#endif
const char* TYPE_STRINGS[] = {