diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-30 21:43:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-30 21:43:06 +0000 |
commit | bcdbb84f6e916d82dae91dcab38ffc01389d1dc4 (patch) | |
tree | 68f38ce76cc098cb0aa795700501c5eb1068c026 /ace/Handle_Set.i | |
parent | 6a4d079a1330b91c50af8909ddd673f65e667fec (diff) | |
download | ATCD-bcdbb84f6e916d82dae91dcab38ffc01389d1dc4.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Handle_Set.i')
-rw-r--r-- | ace/Handle_Set.i | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Handle_Set.i b/ace/Handle_Set.i index 839e567ad2a..ef4de0115a8 100644 --- a/ace/Handle_Set.i +++ b/ace/Handle_Set.i @@ -90,7 +90,11 @@ ACE_INLINE ACE_Handle_Set::operator fd_set *() { ACE_TRACE ("ACE_Handle_Set::operator ACE_FD_SET_TYPE *"); - return (fd_set *) &this->mask_; + + if (this->size_ > 0) + return (fd_set*) &this->mask_; + else + return (fd_set*) NULL; } ACE_INLINE ACE_HANDLE |