From: divverent Date: Tue, 16 Dec 2008 14:23:46 +0000 (+0000) Subject: curl: longer URLs X-Git-Tag: xonotic-v0.1.0preview~1997 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=d374e28529e89276f6bed8df08dd535c9fb8aff2;p=xonotic%2Fdarkplaces.git curl: longer URLs git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8593 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/libcurl.c b/libcurl.c index f97946fe..f2e1856d 100644 --- a/libcurl.c +++ b/libcurl.c @@ -170,7 +170,7 @@ static dllhandle_t curl_dll = NULL; typedef struct downloadinfo_s { char filename[MAX_QPATH]; - char url[256]; + char url[1024]; char referer[256]; qfile_t *stream; fs_offset_t startpos; @@ -1307,7 +1307,7 @@ this file for obvious reasons. */ static const char *Curl_FindPackURL(const char *filename) { - static char foundurl[256]; + static char foundurl[1024]; fs_offset_t filesize; char *buf = (char *) FS_LoadFile("curl_urls.txt", tempmempool, true, &filesize); if(buf && filesize)