apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/poll/os2 pollset.c
Date Sat, 28 Feb 2004 01:40:44 GMT
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;
   }
  
  
  

Mime
View raw message