freebsd-ports/databases/mysql40-server/files/patch-sql::mylibwrap.c
Alex Dupre 1a10f13b7c Update to 4.0.21 release:
- Fix mysqlhotcopy insecure temporary file creation
- Fix bug in remote connections caused by libwrap [1]

PR:		ports/70889 [1]
Submitted by:	Andreas Haakh <andreas.haakh@ib-haakh.de> [1]
Patch by:	peadar [1]
Approved by:	portmgr (marcus)
2004-09-21 21:09:31 +00:00

23 lines
395 B
C

--- sql/mylibwrap.c.orig Thu Jan 1 01:00:00 1970
+++ sql/mylibwrap.c Sun Sep 19 15:37:22 2004
@@ -0,0 +1,20 @@
+#include <tcpd.h>
+#include "mylibwrap.h"
+
+void
+my_fromhost(struct request_info *req)
+{
+ fromhost(req);
+}
+
+int
+my_hosts_access(struct request_info *req)
+{
+ return hosts_access(req);
+}
+
+char *
+my_eval_client(struct request_info *req)
+{
+ return eval_client(req);
+}