cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-7.10.1: segmentation fault following new URL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Oct 2002 19:56:29 +0100 (MET)

On Mon, 28 Oct 2002 kromJx_at_crosswinds.net wrote:

> P.S. Is something like
>
> #define strnequal2(s1, s2) strnequal((s1),(s2),strlen(s1))
>
> portable enough (and worth the hassle to change it) ?

[ lots of possible places where this can be used was cut out ]

I think so, if you use a better name! ;-) 'checkprefix' or something would
more clearly explain what it does.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-28