diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-13 01:18:50 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-13 01:18:50 +0000 |
commit | eef7ced410e9b402dae62ac8c230ff04e4dd9509 (patch) | |
tree | 1d7d2047a91b4a7703bb909d4a6c092e8eb54016 /apps/drwho/BS_Server.cpp | |
parent | fa3040d9c38a89222e37fe6984ca19b8521e9083 (diff) | |
download | ATCD-eef7ced410e9b402dae62ac8c230ff04e4dd9509.tar.gz |
*** empty log message ***
Diffstat (limited to 'apps/drwho/BS_Server.cpp')
-rw-r--r-- | apps/drwho/BS_Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/drwho/BS_Server.cpp b/apps/drwho/BS_Server.cpp index 163f3026774..361d1f3f6c3 100644 --- a/apps/drwho/BS_Server.cpp +++ b/apps/drwho/BS_Server.cpp @@ -8,7 +8,7 @@ // packet. Note that we assume that the client sends the login names // in sorted order, so we don't bother sorting them! -BS_Server::BS_Server (char *packet) +BS_Server::BS_Server (const char *packet) { char *buf_ptr = packet + MAXUSERIDNAMELEN; @@ -49,12 +49,12 @@ BS_Server::BS_Server (char *packet) // up because the whod files tend to cluster userids together. */ Protocol_Record * -BS_Server::insert (char *key_name, int max_len) +BS_Server::insert (const char *key_name, int max_len) { static char last_lookup[MAXHOSTNAMELEN]; static int mid = 0; static int result = 0; - Protocol_Record **buffer = this->sorted_record; + Protocol_Record **buffer = this->sorted_record_; // First check the cache... if (ACE_OS::strncmp (last_lookup, key_name, max_len) == 0) @@ -67,7 +67,7 @@ BS_Server::insert (char *key_name, int max_len) // Store this away in the cache for the next iteration. ACE_OS::strncpy (last_lookup, key_name, max_len); - int hi = this->count - 1; + int hi = this->count_ - 1; int lo = 0; int cmp; |