]> granicus.if.org Git - curl/commit
typecheck: allow NULL to unset CURLOPT_ERRORBUFFER
authorDave Reisner <d@falconindy.com>
Tue, 11 Oct 2011 01:24:40 +0000 (03:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 15 Oct 2011 21:59:22 +0000 (23:59 +0200)
commit62bcf005f4678a93158358265ba905bace33b834
treee769b0060be3b493402869cfa7728dbf8ffe4fd7
parent1a416cd27a37dac23a36063ced06ecc99fcd41e2
typecheck: allow NULL to unset CURLOPT_ERRORBUFFER

There might be situations where a user would want to unset this option.
Avoid forcing him/her to cast the NULL argument to (char *) in order to
get past the compile time typecheck.
include/curl/typecheck-gcc.h