From bd945435f3f8850b0c799f452eaaf40c0ff75ff6 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 27 Feb 2007 19:24:48 +0000 Subject: [PATCH] use CVAR_SAVE not 1 for flags on curl cvars git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6919 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libcurl.c b/libcurl.c index 3cabcef5..7c30291d 100644 --- a/libcurl.c +++ b/libcurl.c @@ -2,11 +2,11 @@ #include "fs.h" #include "libcurl.h" -static cvar_t cl_curl_maxdownloads = {1, "cl_curl_maxdownloads","1", "maximum number of concurrent HTTP/FTP downloads"}; -static cvar_t cl_curl_maxspeed = {1, "cl_curl_maxspeed","100", "maximum download speed (KiB/s)"}; -static cvar_t sv_curl_defaulturl = {1, "sv_curl_defaulturl","", "default autodownload source URL"}; -static cvar_t sv_curl_serverpackages = {1, "sv_curl_serverpackages","", "list of required files for the clients, separated by spaces"}; -static cvar_t cl_curl_enabled = {1, "cl_curl_enabled","0", "whether client's download support is enabled"}; +static cvar_t cl_curl_maxdownloads = {CVAR_SAVE, "cl_curl_maxdownloads","1", "maximum number of concurrent HTTP/FTP downloads"}; +static cvar_t cl_curl_maxspeed = CVAR_SAVE, "cl_curl_maxspeed","100", "maximum download speed (KiB/s)"}; +static cvar_t sv_curl_defaulturl = {CVAR_SAVE, "sv_curl_defaulturl","", "default autodownload source URL"}; +static cvar_t sv_curl_serverpackages = {CVAR_SAVE, "sv_curl_serverpackages","", "list of required files for the clients, separated by spaces"}; +static cvar_t cl_curl_enabled = {CVAR_SAVE, "cl_curl_enabled","0", "whether client's download support is enabled"}; /* ================================================================= -- 2.39.2