projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b9f76
)
Force setopt constants written by --libcurl to be long
author
Dan Fandrich
<dan@coneharvesters.com>
Wed, 9 Mar 2011 22:02:42 +0000
(14:02 -0800)
committer
Dan Fandrich
<dan@coneharvesters.com>
Wed, 9 Mar 2011 22:02:42 +0000
(14:02 -0800)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 8a1fab8bcf3a907987590473873d12a1a5850e66..307070f8bf14d696a66c3040771d888a5259c18e 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-4186,7
+4186,7
@@
static CURLcode _my_setopt(CURL *curl, bool str, struct Configurable *config,
if(tag < CURLOPTTYPE_OBJECTPOINT) {
long lval = va_arg(arg, long);
- snprintf(value, sizeof(value), "%ld", lval);
+ snprintf(value, sizeof(value), "%ld
L
", lval);
ret = curl_easy_setopt(curl, tag, lval);
if(!lval)
skip = TRUE;