From 85c434c08985337fa476e56fae0fde3e955dbd73 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 7 Dec 2014 16:39:43 +0000 Subject: [PATCH] curl: do not output requirements for files that are local. Fixes a bug introduced by r12079. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12105 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcurl.c b/libcurl.c index 43051547..b228350e 100644 --- a/libcurl.c +++ b/libcurl.c @@ -1776,7 +1776,7 @@ static qboolean Curl_SendRequirement(const char *filename, qboolean foundone, ch const char *thispack = FS_WhichPack(filename); const char *packurl; - if(!thispack) + if(!thispack || !*thispack) return false; p = strrchr(thispack, '/'); -- 2.39.2