diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-11 09:34:31 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-11 09:34:31 +0000 |
commit | 2956b8715ac05fb2b8bdf5661d102815050d1142 (patch) | |
tree | de0cf5546b79c96913ab02610b7fec3d3444a51e /ace/SOCK_Dgram_Bcast.cpp | |
parent | 35d269380e337579b3c662eb869b8f824e7004fa (diff) | |
download | ATCD-2956b8715ac05fb2b8bdf5661d102815050d1142.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SOCK_Dgram_Bcast.cpp')
-rw-r--r-- | ace/SOCK_Dgram_Bcast.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/SOCK_Dgram_Bcast.cpp b/ace/SOCK_Dgram_Bcast.cpp index fbb30dcdff9..3a149395cfa 100644 --- a/ace/SOCK_Dgram_Bcast.cpp +++ b/ace/SOCK_Dgram_Bcast.cpp @@ -57,14 +57,14 @@ ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast (const ACE_Addr &local, int protocol_family, int protocol, int reuse_addr, - const char *host_name) + const ASYS_TCHAR *host_name) : ACE_SOCK_Dgram (local, protocol_family, protocol, reuse_addr), if_list_ (0) { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast"); if (this->mk_broadcast (host_name) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "ACE_SOCK_Dgram_Bcast")); + ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("ACE_SOCK_Dgram_Bcast"))); } // Here's the general-purpose open routine. @@ -74,7 +74,7 @@ ACE_SOCK_Dgram_Bcast::open (const ACE_Addr &local, int protocol_family, int protocol, int reuse_addr, - const char *host_name) + const ASYS_TCHAR *host_name) { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::open"); if (this->ACE_SOCK_Dgram::open (local, protocol_family, @@ -87,7 +87,7 @@ ACE_SOCK_Dgram_Bcast::open (const ACE_Addr &local, // Make broadcast available for Datagram socket. int -ACE_SOCK_Dgram_Bcast::mk_broadcast (const char *host_name) +ACE_SOCK_Dgram_Bcast::mk_broadcast (const ASYS_TCHAR *host_name) { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::mk_broadcast"); @@ -120,7 +120,7 @@ ACE_SOCK_Dgram_Bcast::mk_broadcast (const char *host_name) //Get host ip address if (host_name) { - hostent *hp = ACE_OS::gethostbyname (host_name); + hostent *hp = ACE_OS::gethostbyname (ASYS_MULTIBYTE_STRING (host_name)); if (hp == 0) return -1; |