curl-library
Re: [PATCH] nss: fix NPN/ALPN protocol negotiation
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Feb 2015 23:11:11 +0100 (CET)
Date: Thu, 19 Feb 2015 23:11:11 +0100 (CET)
On Thu, 19 Feb 2015, Alessandro Ghedini wrote:
> Correctly check for memcmp() return value (it returns 0 if the strings
> match).
Thanks a lot Alessandro, merged and pushed both your fixes now. I prefer
having the code like if(!strncmp(...) instead of comparing == 0 so I edited
them slightly. Just as a FYI!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-02-19