From: Mike Hommey Date: Sat, 09 Feb 2008 10:43:01 GMT Subject: Re: [PATCH v2] Work around curl-gnutls not liking to be reinitialized Message-ID: <20080209104301.GA32309@glandium.org> In-Reply-To: <87y79usbu0.fsf@mid.deneb.enyo.de> On Sat, Feb 09, 2008 at 10:44:55AM +0100, Florian Weimer wrote: > * Mike Hommey: > > > +#if (LIBCURL_VERSION_NUM < 0x071003) || (LIBCURL_VERSION_NUM > 0x071200) > > http_cleanup(); > > +#endif > > Shouldn't you check the version that is used at run time, not the one at > compile time? That is a very good remark, and another good reason to prefer patch v4. Mike