Commit b8085f49 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecheck-gcc: allow CURLOPT_STDERR to be NULL too

parent cccac4fb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -471,7 +471,8 @@ _CURL_WARNING(_curl_easy_getinfo_err_curl_socket,

/* evaluates to true if expr is of type FILE* */
#define _curl_is_FILE(expr)                                             \
  (__builtin_types_compatible_p(__typeof__(expr), FILE *))
  (_curl_is_NULL(expr) ||                                              \
   (__builtin_types_compatible_p(__typeof__(expr), FILE *)))

/* evaluates to true if expr can be passed as POST data (void* or char*) */
#define _curl_is_postfields(expr)                                             \