Skip to content

Commit

Permalink
Fix remote include caching for URL's that end in a / (#4409 too)
Browse files Browse the repository at this point in the history
  • Loading branch information
syzop committed Sep 7, 2015
1 parent c12d051 commit 09191c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/s_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -9004,7 +9004,7 @@ static void conf_download_complete(const char *url, const char *file, const char
{
char *urlfile = url_getfilename(url);
char *file_basename = unreal_getfilename(urlfile);
char *tmp = unreal_mktemp(TMPDIR, file_basename);
char *tmp = unreal_mktemp(TMPDIR, file_basename ? file_basename : "download.conf");
free(urlfile);

if (cached)
Expand Down

0 comments on commit 09191c4

Please sign in to comment.