diff options
Diffstat (limited to 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index 168417738..5adfe4dbe 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -1683,7 +1683,7 @@ static CURLcode setopt_cptr(struct Curl_easy *data, CURLoption option, /* * Check that requested length does not overflow the size_t type. */ - else if(s->postfieldsize > SIZE_T_MAX) + else if(s->postfieldsize > SIZE_MAX) return CURLE_OUT_OF_MEMORY; #endif else { |