summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-07-12 13:23:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:33 -0500
commit7193ed39982d6894234b4f5a22d5e4d9a7cdde59 (patch)
tree1aa0924c039b29a0350728f5069dcddd41014a86 /source4/libcli
parent1d5ff7fc31e1918827773ec30d1d374f3518c25f (diff)
downloadsamba-7193ed39982d6894234b4f5a22d5e4d9a7cdde59.tar.gz
samba-7193ed39982d6894234b4f5a22d5e4d9a7cdde59.tar.bz2
samba-7193ed39982d6894234b4f5a22d5e4d9a7cdde59.zip
r1466: the name "oid" is taken by some silly system headers - avoid it in our code
(This used to be commit ea5659b051f95402441e69ba4ce5aea1ed6f5c86)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/auth/gensec.c4
1 files 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];
}
}