 Index: boa-0.94.13/src/plugin.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ boa-0.94.13/src/plugin.c	2008-05-27 19:28:21.000000000 +0200
-@@ -0,0 +1,189 @@
++++ boa-0.94.13/src/plugin.c	2008-06-29 00:39:43.000000000 +0200
+@@ -0,0 +1,190 @@
 +/*
 + * Simple plugin API for boa
 + * Copyright (C) 2008 John Crispin <blogic@openwrt.org>

+	if (p[strlen(p) - 1] == '/')
+		return;
+
+	dl = dlopen(p, RTLD_NOW);
+	if (!dl) {
+		fprintf(stderr, "Unable to load plugin '%s': %d\n", p, dlerror());
+		return;

Index: boa-0.94.13/src/boa-plugin.h
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ boa-0.94.13/src/boa-plugin.h	2008-06-15 23:21:11.000000000 +0200
@@ -0,0 +1,67 @@
+#ifndef _HTTPD_PLUGIN_H__
+#define _HTTPD_PLUGIN_H__
