You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@apache.org on 2002/08/24 19:15:58 UTC

cvs commit: modperl-2.0/xs/APR/Table APR__Table.h

dougm       2002/08/24 10:15:58

  Modified:    xs/APR/Table APR__Table.h
  Log:
  APR::Table::do now returns an int
  
  Revision  Changes    Path
  1.9       +3 -2      modperl-2.0/xs/APR/Table/APR__Table.h
  
  Index: APR__Table.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/APR/Table/APR__Table.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- APR__Table.h	9 Jul 2002 06:52:08 -0000	1.8
  +++ APR__Table.h	24 Aug 2002 17:15:58 -0000	1.9
  @@ -52,7 +52,7 @@
   }
   
   static MP_INLINE 
  -void mpxs_apr_table_do(pTHX_ I32 items, SV **MARK, SV **SP) 
  +int mpxs_apr_table_do(pTHX_ I32 items, SV **MARK, SV **SP) 
   {
       apr_table_t *table;
       SV *sub;
  @@ -88,7 +88,8 @@
       
       /* Free tdata.filter or wait for the pool to go away? */
       
  -    return; 
  +    /* XXX: return return value of apr_table_do once we require newer httpd */
  +    return 1;
   }
   
   static MP_INLINE int mpxs_APR__Table_EXISTS(apr_table_t *t, const char *key)