diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-01-30 13:36:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-01-30 13:36:12 +0000 |
commit | a6a49ce8ce685a32ec97f6550ba4893499ee231c (patch) | |
tree | 72920d9937bfd304cc3ebc00390a4c47adad71cd /examples | |
parent | a1c8e186f2774146fbdb1d121c5d0291bb1d90c2 (diff) | |
download | ATCD-a6a49ce8ce685a32ec97f6550ba4893499ee231c.tar.gz |
ChangeLogTag: Sun Jan 30 13:33:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp index c184ff6dc67..54d936962aa 100644 --- a/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp +++ b/examples/C++NPv1/Process_Per_Connection_Logging_Server.cpp @@ -117,7 +117,7 @@ Process_Per_Connection_Logging_Server::handle_data (ACE_SOCK_Stream *client) int Process_Per_Connection_Logging_Server::run (int argc, char *argv[]) { - strncpy (prog_name_, argv[0], MAXPATHLEN); + ACE_OS::strncpy (prog_name_, argv[0], MAXPATHLEN); prog_name_[MAXPATHLEN] = '\0'; // Ensure NUL-termination. // If there are 2 command line arguments after prog_name_, this // is a spawned worker process. Else run as the master. |