Change boolean values to 2 and 1

FossilOrigin-Name: 00bb74a50177a804527de2780819943b0d9ad78c2fcd4ef0ed834824e65d5d45
This commit is contained in:
nekobit 2022-07-02 21:17:44 +00:00
parent 2c1a88ee03
commit 53d174aeb1
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@
#define MSTDNT_URLSIZE 2048
#define MSTDNT_URISIZE 512
typedef int8_t mstdnt_bool;
#define MSTDNT_TRUE 1
#define MSTDNT_FALSE 0
#define MSTDNT_BOOL_UNSET -1
#define MSTDNT_TRUE 2
#define MSTDNT_FALSE 1
#define MSTDNT_BOOL_UNSET 0
// It's more logical to not sanitize than to sanitize data
#define MSTDNT_FLAG_NO_URI_SANITIZE (1<<0)