[prev in list] [next in list] [prev in thread] [next in thread]
List: privoxy-commits
Subject: [privoxy-commits] current parsers.c,1.311,1.312
From: Fabian Keil via ijbswa-commits <ijbswa-commits () lists ! sourceforge ! net>
Date: 2017-06-08 13:13:28
Message-ID: E1dIxFh-0002Wm-8y () sfs-ml-4 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1162
Modified Files:
parsers.c
Log Message:
get_content_length(): Replace an assertion with a compile-time check
Index: parsers.c
===================================================================
RCS file: /cvsroot/ijbswa/current/parsers.c,v
retrieving revision 1.311
retrieving revision 1.312
diff -C2 -d -r1.311 -r1.312
*** parsers.c 24 Dec 2016 16:00:49 -0000 1.311
--- parsers.c 8 Jun 2017 13:13:26 -0000 1.312
***************
*** 1817,1821 ****
{
#ifdef _WIN32
! assert(sizeof(unsigned long long) > 4);
if (1 != sscanf(header_value, "%I64u", length))
#else
--- 1817,1823 ----
{
#ifdef _WIN32
! #if SIZEOF_LONG_LONG < 8
! #error sizeof(unsigned long long) too small
! #endif
if (1 != sscanf(header_value, "%I64u", length))
#else
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ijbswa-commits mailing list
ijbswa-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic