diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-13 01:31:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-13 01:31:17 +0000 |
commit | 94d4f55a728ce9fddf04382192b14edc7f4845f5 (patch) | |
tree | 82f69bc10cc0c8f17a6e0129943823fc651b0b7e | |
parent | a6ff8bba55c528019800048270163105b35c5d6c (diff) | |
download | ATCD-94d4f55a728ce9fddf04382192b14edc7f4845f5.tar.gz |
*** empty log message ***
-rw-r--r-- | ace/Dirent.i | 6 | ||||
-rw-r--r-- | apps/drwho/Protocol_Record.h | 12 | ||||
-rw-r--r-- | apps/drwho/SM_Server.cpp | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/ace/Dirent.i b/ace/Dirent.i index 66ed6667732..be70f91d6c4 100644 --- a/ace/Dirent.i +++ b/ace/Dirent.i @@ -13,6 +13,12 @@ ACE_Dirent::open (const char *dirname) } ACE_INLINE +ACE_Dirent::ACE_Dirent (void) + dirp_ (0) +{ +} + +ACE_INLINE ACE_Dirent::ACE_Dirent (const char *dirname) { if (this->open (dirname) == -1) diff --git a/apps/drwho/Protocol_Record.h b/apps/drwho/Protocol_Record.h index 5cc97644585..74d48b7494a 100644 --- a/apps/drwho/Protocol_Record.h +++ b/apps/drwho/Protocol_Record.h @@ -30,12 +30,12 @@ public: Protocol_Record (const char *key_name1, Protocol_Record *next = 0); ~Protocol_Record (void); - char *get_host (void); - char *set_host (const char *str); - char *get_login (void); - char *set_login (const char *str); - char *get_real (void); - char *set_real (const char *str); + const char *get_host (void); + const char *set_host (const char *str); + const char *get_login (void); + const char *set_login (const char *str); + const char *get_real (void); + const char *set_real (const char *str); Drwho_Node *get_drwho_list (void); static Drwho_Node drwho_node_; diff --git a/apps/drwho/SM_Server.cpp b/apps/drwho/SM_Server.cpp index 798ac904e76..6fb7569a5cd 100644 --- a/apps/drwho/SM_Server.cpp +++ b/apps/drwho/SM_Server.cpp @@ -39,7 +39,7 @@ SM_Server::demux (char *packet, int &packet_length) return -1; } - packet_lenght = SUBTRACT_PACKET_TYPE (packet_length); + packet_length = SUBTRACT_PACKET_TYPE (packet_length); if (pm_server->decode (SKIP_PACKET_TYPE (packet), packet_length) < 0) |