diff options
author | Steve Huston <shuston@riverace.com> | 2004-09-29 20:21:27 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2004-09-29 20:21:27 +0000 |
commit | c5ea880eebefef7138e050152a68c68e13ff23d6 (patch) | |
tree | 96078a3f143bf419fe45c6e7c39e40a3a8aa6f01 /ASNMP/asnmp/sagent.cpp | |
parent | fe59c46d2536150de6858a632d8d4a25b383af2d (diff) | |
download | ATCD-c5ea880eebefef7138e050152a68c68e13ff23d6.tar.gz |
ChangeLogTag:Wed Sep 29 15:33:29 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ASNMP/asnmp/sagent.cpp')
-rw-r--r-- | ASNMP/asnmp/sagent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ASNMP/asnmp/sagent.cpp b/ASNMP/asnmp/sagent.cpp index fc56a2c728f..8ee2fdb5b8d 100644 --- a/ASNMP/asnmp/sagent.cpp +++ b/ASNMP/asnmp/sagent.cpp @@ -53,9 +53,9 @@ int sagent::handle_input(ACE_HANDLE fd) return 0; OctetStr community(rcv_com_str); const ACE_INET_Addr &ta = tr.get_from_addr(); - char buf_tmp[MAXHOSTNAMELEN + 1]; + ACE_TCHAR buf_tmp[MAXHOSTNAMELEN + 1]; ta.addr_to_string (buf_tmp, MAXHOSTNAMELEN); - UdpAddress ra(buf_tmp); + UdpAddress ra (ACE_TEXT_ALWAYS_CHAR (buf_tmp)); tgt_.set_address(ra); |