freebsd-ports/www/mod_clamav/files/patch-mod_clamav.c
Renato Botelho d14591a227 - Unbreak
PR:		ports/117135
Submitted by:	maintainer
2007-10-15 15:35:25 +00:00

25 lines
700 B
C

--- mod_clamav.c.bak Fri Oct 12 10:03:41 2007
+++ mod_clamav.c Fri Oct 12 10:02:09 2007
@@ -102,6 +102,22 @@
unsigned long reloads; /* number of database reloads (local) */
} clamav_stats;
+const char *cl_perror(int clerror) /* deprecated */
+{
+ return cl_strerror(clerror);
+}
+
+void cl_freetrie(struct cl_node *root) /* for backward compatibility */
+{
+ cl_free(root);
+}
+
+int cl_buildtrie(struct cl_node *root) /* for backward compatibility */
+{
+ return cl_build(root);
+}
+
+
static void clamav_virus_record(clamav_stats *stats, const char *uri,
const char *req, const char *virus, off_t size) {
/* find the index of the entry we are about to create */