diff options
author | Ted Lemon <source@isc.org> | 2000-08-17 19:41:48 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-08-17 19:41:48 +0000 |
commit | a69fc68a1b77b3e2afbe04fa4798002d31654000 (patch) | |
tree | 262b9bd6d72da9269b4aa6327b9f1b0b627e6148 /omapip/auth.c | |
parent | 61b04b002618a148c82695672219da621f6fe79d (diff) | |
download | isc-dhcp-a69fc68a1b77b3e2afbe04fa4798002d31654000.tar.gz |
Fix a compile warning.
Diffstat (limited to 'omapip/auth.c')
-rw-r--r-- | omapip/auth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/omapip/auth.c b/omapip/auth.c index f5ce57bc..1de76c05 100644 --- a/omapip/auth.c +++ b/omapip/auth.c @@ -43,12 +43,12 @@ #ifndef lint static char ocopyright[] = -"$Id: auth.c,v 1.1 2000/08/03 21:00:11 neild Exp $ Copyright 1998-2000 The Internet Software Consortium."; +"$Id: auth.c,v 1.2 2000/08/17 19:41:24 mellon Exp $ Copyright 1998-2000 The Internet Software Consortium."; #endif #include <omapip/omapip_p.h> -OMAPI_OBJECT_ALLOC (omapi_auth_key, omapi_auth_key_t, omapi_type_auth_key); +OMAPI_OBJECT_ALLOC (omapi_auth_key, omapi_auth_key_t, omapi_type_auth_key) static struct hash_table *auth_key_hash = (struct hash_table *)0; HASH_FUNCTIONS_DECL (omapi_auth_key, const char *, omapi_auth_key_t) @@ -160,6 +160,7 @@ isc_result_t omapi_auth_key_lookup (omapi_object_t **h, if (!omapi_auth_key_hash_lookup ((omapi_auth_key_t **)h, auth_key_hash, + (const char *) name -> value -> u.buffer.value, name -> value -> u.buffer.len, MDL)) { omapi_value_dereference (&name, MDL); |