From 7193ed39982d6894234b4f5a22d5e4d9a7cdde59 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Jul 2004 13:23:01 +0000 Subject: r1466: the name "oid" is taken by some silly system headers - avoid it in our code (This used to be commit ea5659b051f95402441e69ba4ce5aea1ed6f5c86) --- source4/libcli/auth/gensec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/libcli/auth/gensec.c b/source4/libcli/auth/gensec.c index f4abfd00e5..f4aeedf692 100644 --- a/source4/libcli/auth/gensec.c +++ b/source4/libcli/auth/gensec.c @@ -39,12 +39,12 @@ static const struct gensec_security_ops *gensec_security_by_authtype(uint8_t aut return NULL; } -static const struct gensec_security_ops *gensec_security_by_oid(const char *oid) +static const struct gensec_security_ops *gensec_security_by_oid(const char *oid_string) { int i; for (i=0; i < num_backends; i++) { if (generic_security_ops[i]->oid && - (strcmp(generic_security_ops[i]->oid, oid) == 0)) { + (strcmp(generic_security_ops[i]->oid, oid_string) == 0)) { return generic_security_ops[i]; } } -- cgit