]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
curl: longer URLs
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Dec 2008 14:23:46 +0000 (14:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Dec 2008 14:23:46 +0000 (14:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8593 d7cf8633-e32d-0410-b094-e92efae38249

libcurl.c

index f97946fe1bd2b365c1fe399d429837574eab03dc..f2e1856d5377c7b9475b0559e3a4fc17617b39fe 100644 (file)
--- 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)