1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 11:13:13 +02:00

In ConfigItem_include include->url now always exists, and src/url.c is now

always compiled in, both regardless of cURL support or not.
Obviously the cURL functions are not available without cURL and there
are now some #ifdef USE_LIBCURL in url.c

This also fixes the current build to work without cURL
This commit is contained in:
Bram Matthys
2021-08-18 12:23:57 +02:00
parent f85615518e
commit 685e0ee073
8 changed files with 8 additions and 20 deletions
-2
View File
@@ -1896,10 +1896,8 @@ struct ConfigItem_include {
ConfigItem_include *prev, *next;
ConfigFlag_ban flag;
char *file;
#ifdef USE_LIBCURL
char *url;
char *errorbuf;
#endif
char *included_from;
int included_from_line;
};