You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2004/02/28 02:40:44 UTC

cvs commit: apr/poll/os2 pollset.c

bjh         2004/02/27 17:40:44

  Modified:    poll/os2 pollset.c
  Log:
  OS/2: In apr_pollset_poll(), allow descriptors to be NULL.
  This makes it consistent with the unix implementation.
  
  Revision  Changes    Path
  1.9       +4 -1      apr/poll/os2/pollset.c
  
  Index: pollset.c
  ===================================================================
  RCS file: /home/cvs/apr/poll/os2/pollset.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- pollset.c	13 Feb 2004 09:38:33 -0000	1.8
  +++ pollset.c	28 Feb 2004 01:40:44 -0000	1.9
  @@ -214,6 +214,9 @@
           }
       }
   
  -    *descriptors = pollset->result_set;
  +    if (descriptors) {
  +        *descriptors = pollset->result_set;
  +    }
  +
       return APR_SUCCESS;
   }