cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: spnego_mech_oid & krb5_mech_oid

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Jul 2014 19:50:32 +0200 (CEST)

On Wed, 23 Jul 2014, Michael Osipov wrote:

>> GSSAPI: remove useless *_MECHANISM defines.
>
> why do consider them useless? I added them on purpose for not to fiddle with
> the internal GSS structs. Mere symbolic names.
>
> What harm do they cause?

They lead to mistakes exactly like mine when I searched for the variable use
but found none since it was used via defines instead.

IMHO, the defines don't serve any useful purpose and they don't add anything
to a reader, thus they are in the way. That's the code approach we use all
through libcurl actually.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-23