From f2b9b027b6ccb888829197c4b037077d5017d8eb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 15 Jun 2010 11:23:53 +0200 Subject: abrt_curl: fix a problem with incorrect content-length on 32-bit arches Signed-off-by: Denys Vlasenko --- lib/Utils/abrt_curl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Utils/abrt_curl.h') diff --git a/lib/Utils/abrt_curl.h b/lib/Utils/abrt_curl.h index 97642bd4..b1ecd249 100644 --- a/lib/Utils/abrt_curl.h +++ b/lib/Utils/abrt_curl.h @@ -48,6 +48,7 @@ enum { ABRT_POST_WANT_BODY = (1 << 2), }; enum { + /* Must be -1! CURLOPT_POSTFIELDSIZE interprets -1 as "use strlen" */ ABRT_POST_DATA_STRING = -1, ABRT_POST_DATA_FROMFILE = -2, ABRT_POST_DATA_FROMFILE_AS_FORM_DATA = -3, -- cgit