diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-21 17:34:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-21 17:34:12 +0000 |
commit | d6d266b2f42bdc2ef1ddfaca63964232237fbe35 (patch) | |
tree | 7ee50866e301f7bdca0c4df3ddfd22a898e5d6a0 /ace/TLI.cpp | |
parent | efb6d8efd41ff7464360910602e74d013151c727 (diff) | |
download | ATCD-d6d266b2f42bdc2ef1ddfaca63964232237fbe35.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/TLI.cpp')
-rw-r--r-- | ace/TLI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/TLI.cpp b/ace/TLI.cpp index 5c584cbf1ee..5b93aaf47fb 100644 --- a/ace/TLI.cpp +++ b/ace/TLI.cpp @@ -130,7 +130,11 @@ ACE_TLI::set_option (int level, int option, void *optval, int optlen) if (this->so_opt_req.opt.len > this->so_opt_req.opt.maxlen) { +#if !defined (ACE_HAS_SET_T_ERRNO) t_errno = TBUFOVFLW; +#else + set_t_errno (TBUFOVFLW); +#endif /* ACE_HAS_SET_T_ERRNO */ return -1; } @@ -158,7 +162,11 @@ ACE_TLI::get_option (int level, int option, void *optval, int &optlen) if (this->so_opt_ret.opt.len > this->so_opt_ret.opt.maxlen) { +#if !defined (ACE_HAS_SET_T_ERRNO) t_errno = TBUFOVFLW; +#else + set_t_errno (TBUFOVFLW); +#endif /* ACE_HAS_SET_T_ERRNO */ return -1; } |