diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 16:17:10 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-03-06 16:17:10 +0000 |
commit | bc59cc03be7e7e5afe6bc77e98f6dd52b3c2097b (patch) | |
tree | e7950b7266edbc13a441a25c99bd969167533d80 /apps | |
parent | d676c080134fcb70edc0e02c92b56a55bf6f295c (diff) | |
download | ATCD-bc59cc03be7e7e5afe6bc77e98f6dd52b3c2097b.tar.gz |
* IO.cpp: fixed a couple of bugs regarding file delivery.
Thanks to Leo Stutzmann <lstutzmann@home.com> for
finding the problem and submitting the fixes.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/JAWS2/JAWS/IO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/JAWS2/JAWS/IO.cpp b/apps/JAWS2/JAWS/IO.cpp index 58649bdd349..1cb294f96fb 100644 --- a/apps/JAWS2/JAWS/IO.cpp +++ b/apps/JAWS2/JAWS/IO.cpp @@ -161,7 +161,7 @@ JAWS_Synch_IO::transmit_file (JAWS_IO_Handler *ioh, do { - count = ACE::recv (handle, buf, sizeof (buf)); + count = ACE_OS::read (handle, buf, sizeof (buf)); if (count <= 0) break; @@ -221,7 +221,7 @@ JAWS_Synch_IO::transmit_file (JAWS_IO_Handler *ioh, && ((u_long) stream.send_n (trailer, trailer_size) == trailer_size)) { - this->handler_->transmit_file_complete (); + ioh->transmit_file_complete (); return; } else |