nothing was returned for cl=0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5178 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7f9517d542
commit
60707d3aa8
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ __int64 JNL_HTTPGet::content_length()
|
||||||
char *p=getheader("content-length:");
|
char *p=getheader("content-length:");
|
||||||
if (!p) return 0;
|
if (!p) return 0;
|
||||||
__int64 cl = myatoi64(p);
|
__int64 cl = myatoi64(p);
|
||||||
if (cl > 0) return cl;
|
if (cl >= 0) return cl;
|
||||||
|
|
||||||
// workaround for bug #1744091
|
// workaround for bug #1744091
|
||||||
// some buggy apache servers return negative values for sizes
|
// some buggy apache servers return negative values for sizes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue