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 st...@apache.org on 2002/08/21 19:25:10 UTC

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

stas        2002/08/21 10:25:10

  Modified:    xs/Apache/Connection Apache__Connection.h
               xs/tables/current/ModPerl FunctionTable.pm
  Log:
  fix the incorrect return type for get_remote_host
  s/char */const char */
  
  Revision  Changes    Path
  1.5       +1 -1      modperl-2.0/xs/Apache/Connection/Apache__Connection.h
  
  Index: Apache__Connection.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Connection/Apache__Connection.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Apache__Connection.h	15 Aug 2002 08:42:55 -0000	1.4
  +++ Apache__Connection.h	21 Aug 2002 17:25:10 -0000	1.5
  @@ -13,7 +13,7 @@
   }
   
   static MP_INLINE
  -char *mpxs_Apache__Connection_get_remote_host(pTHX_ conn_rec *c,
  +const char *mpxs_Apache__Connection_get_remote_host(pTHX_ conn_rec *c,
                                                 int type,
                                                 apr_table_t *dir_config)
   {
  
  
  
  1.77      +1 -1      modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm
  
  Index: FunctionTable.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- FunctionTable.pm	15 Aug 2002 08:42:55 -0000	1.76
  +++ FunctionTable.pm	21 Aug 2002 17:25:10 -0000	1.77
  @@ -4305,7 +4305,7 @@
       ]
     },
     {
  -    'return_type' => 'char *',
  +    'return_type' => 'const char *',
       'name' => 'mpxs_Apache__Connection_get_remote_host',
       'args' => [
         {