[cvs-annodex] commit (/annodex): mod_annodex-ap13/trunk/mod_annodex.c

conrad nobody at lists.annodex.net
Fri Jan 28 07:53:31 EST 2005


Update of /annodex (new revision 753)

Modified files:
   mod_annodex-ap13/trunk/mod_annodex.c

Log Message:
fix fread argument order in ma_send


Modified: mod_annodex-ap13/trunk/mod_annodex.c
===================================================================
--- mod_annodex-ap13/trunk/mod_annodex.c	2005-01-27 20:38:48 UTC (rev 752)
+++ mod_annodex-ap13/trunk/mod_annodex.c	2005-01-27 20:53:30 UTC (rev 753)
@@ -552,7 +552,12 @@
     return HTTP_FORBIDDEN;
   }
 
-  while ((n = fread ((void *)buf, 1024, 1, f)) > 0) {
+#ifdef DEBUG
+  ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
+                "ma_send: %s", filename);
+#endif
+
+  while ((n = fread ((void *)buf, 1, 1024, f)) > 0) {
     ap_rwrite (buf, n, r);
   }
 


-- 
conrad



More information about the cvs-annodex mailing list