You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/10/21 17:54:36 UTC

cvs commit: xml-xalan/c/samples/ApacheModuleXSLT mod_xslt.c

dbertoni    01/10/21 08:54:36

  Modified:    c/samples/ApacheModuleXSLT mod_xslt.c
  Log:
  Fixes for new callback signatures.
  
  Revision  Changes    Path
  1.7       +3 -5      xml-xalan/c/samples/ApacheModuleXSLT/mod_xslt.c
  
  Index: mod_xslt.c
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/ApacheModuleXSLT/mod_xslt.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mod_xslt.c	2001/09/27 18:33:48	1.6
  +++ mod_xslt.c	2001/10/21 15:54:36	1.7
  @@ -107,12 +107,10 @@
   
   
   
  -static CallbackSizeType xalan_output_handler(const void *data, CallbackSizeType length, const void *handle)
  +static CallbackSizeType xalan_output_handler(const char *data, CallbackSizeType length, void *handle)
   {
   	CONTROL_STRUCT* c = (CONTROL_STRUCT*)handle;
   
  -	char* d = (char *)data;
  -
   	if (c->fHeaderSent == 0)
   	{
   		c->fHeaderSent = 1;
  @@ -120,12 +118,12 @@
   		ap_send_http_header(c->r);
   	}
   
  -	return ap_rwrite(d, length, c->r);
  +	return ap_rwrite(data, length, c->r);
   }
   
   
   
  -static void xalan_flush_handler(const void *handle)
  +static void xalan_flush_handler(void *handle)
   {
   	CONTROL_STRUCT* c = (CONTROL_STRUCT*)handle;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org