cURL / Mailing Lists / curl-library / Single Mail


Re: strequal() doesnt like NULL

From: Daniel Stenberg <>
Date: Sat, 25 Aug 2007 11:08:17 +0200 (CEST)

On Thu, 23 Aug 2007, Emil Romanus wrote:

> My personal opinion is that checking if any of the strings equals NULL
> should be done outside of the function, as it is most often not a necessary
> check. Two reasons:

I'm with Emil here. Also the fact that we've managed fine with this approach
during many years would be a hint that it isn't that awkward...

  Commercial curl and libcurl Technical Support:
Received on 2007-08-25