summaryrefslogtreecommitdiff
path: root/apps/drwho/HT_Server.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-02 12:22:20 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-05-02 12:22:20 +0000
commitc226004190c10647436aa89db9ddff3edc4d55f7 (patch)
treed7c1cc6603e29a16739ad4173c60fe1e6f17cfd2 /apps/drwho/HT_Server.cpp
parentc7d8feb14099baaa44a48fa82f24c74a5c9e1f13 (diff)
downloadATCD-c226004190c10647436aa89db9ddff3edc4d55f7.tar.gz
ChangeLogTag:Thu May 2 12:00:15 UTC 2002 Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'apps/drwho/HT_Server.cpp')
-rw-r--r--apps/drwho/HT_Server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/drwho/HT_Server.cpp b/apps/drwho/HT_Server.cpp
index 5af2b21c4b5..9285ee01f3e 100644
--- a/apps/drwho/HT_Server.cpp
+++ b/apps/drwho/HT_Server.cpp
@@ -2,6 +2,7 @@
#include "HT_Server.h"
#include "ace/ACE.h"
+#include "ace/OS_String.h"
// Insert a KEY_NAME into the hash table, if it doesn't already exist
// there. What gets returned is a pointer to the node inserted. Note
@@ -15,7 +16,7 @@ HT_Server::insert (const char *key_name, int max_len)
// This is tricky...
for (prpp = &this->hash_table[ACE::hash_pjw (key_name) % this->hash_table_size];
- *prpp != 0 && strncmp ((*prpp)->get_login (), key_name, max_len) != 0;
+ *prpp != 0 && ACE_OS_String::strncmp ((*prpp)->get_login (), key_name, max_len) != 0;
prpp = &(*prpp)->next_)
continue;