summaryrefslogtreecommitdiff
path: root/ace/TLI.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 17:34:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 17:34:12 +0000
commitf9438cf147b2b788b151f522cefe526d1a8e67c4 (patch)
tree7ee50866e301f7bdca0c4df3ddfd22a898e5d6a0 /ace/TLI.cpp
parentc173d65a93ae8d28089d97e97b665d35c565f9d4 (diff)
downloadATCD-f9438cf147b2b788b151f522cefe526d1a8e67c4.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/TLI.cpp')
-rw-r--r--ace/TLI.cpp8
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;
}