summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-04-07 01:52:07 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-04-07 01:52:07 +0000
commitd870602408053e5c02892e40f2798fc7573e361c (patch)
tree67bd6f00ed5e4422fbcc44b92502a4059a6dd6cc
parent5b957050ffd01763a35c6459e285334acff35ed1 (diff)
downloadATCD-d870602408053e5c02892e40f2798fc7573e361c.tar.gz
* ace/Log_Record.cpp (format_msg):
* ace/Log_Record.cpp (print): Changed host_name[] to *host_name since null pointers were being passed into the host_name array. Strictly speaking, host_name should thus be a pointer, not an array.
-rw-r--r--ace/Log_Record.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Log_Record.cpp b/ace/Log_Record.cpp
index 52eebe1679d..7cb89f44353 100644
--- a/ace/Log_Record.cpp
+++ b/ace/Log_Record.cpp
@@ -116,7 +116,7 @@ ACE_Log_Record::ACE_Log_Record (void)
}
int
-ACE_Log_Record::format_msg (const ASYS_TCHAR host_name[],
+ACE_Log_Record::format_msg (const ASYS_TCHAR *host_name,
u_long verbose_flag,
ASYS_TCHAR *verbose_msg)
{
@@ -229,7 +229,7 @@ ACE_Log_Record::print (const ASYS_TCHAR *host_name,
#if ! defined (ACE_LACKS_IOSTREAM_TOTALLY)
int
-ACE_Log_Record::print (const ASYS_TCHAR host_name[],
+ACE_Log_Record::print (const ASYS_TCHAR *host_name,
u_long verbose_flag,
ostream &s)
{