diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-03 23:44:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-03 23:44:10 +0000 |
commit | 327a72ec6726aebf19f1b66d4e6ff90e5db48b83 (patch) | |
tree | 81b0133fa13fecf9fb88d6c12216bd7603917d80 /ace/FILE_Connector.cpp | |
parent | 5760efabc89a9d6ccbf3f956603906eb195418c8 (diff) | |
download | ATCD-327a72ec6726aebf19f1b66d4e6ff90e5db48b83.tar.gz |
.
Diffstat (limited to 'ace/FILE_Connector.cpp')
-rw-r--r-- | ace/FILE_Connector.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ace/FILE_Connector.cpp b/ace/FILE_Connector.cpp index e4a63b72824..3b77d2538db 100644 --- a/ace/FILE_Connector.cpp +++ b/ace/FILE_Connector.cpp @@ -43,14 +43,9 @@ ACE_FILE_Connector::connect (ACE_FILE_IO &new_io, if (ACE_reinterpret_cast (const ACE_Addr &, ACE_const_cast (ACE_FILE_Addr &, remote_sap)) == ACE_Addr::sap_any) - { - ACE_FILE_Addr temp_sap (ACE_DEFAULT_TEMP_FILE); - - // Create a temporary file. - ACE_OS::mktemp (ACE_const_cast (TCHAR *, - temp_sap.get_path_name ())); - new_io.addr_ = temp_sap; // class copy. - } + // Create a new temporary file. + new_io.addr_ = + ACE_FILE_Addr (ACE_sap_any_cast (ACE_FILE_Addr &)); // class copy. else new_io.addr_ = remote_sap; // class copy. |