aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nefu/files/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nefu/files/patch-main.c')
-rw-r--r--net-mgmt/nefu/files/patch-main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/nefu/files/patch-main.c b/net-mgmt/nefu/files/patch-main.c
new file mode 100644
index 000000000000..f8514021c4fe
--- /dev/null
+++ b/net-mgmt/nefu/files/patch-main.c
@@ -0,0 +1,13 @@
+--- main.c 2006-11-10 20:32:33.000000000 +0100
++++ main.c 2008-06-23 20:26:45.000000000 +0200
+@@ -409,6 +409,10 @@
+ }
+ }
+
++ /* fix the html_dir */
++ if(no_html == 1)
++ nefu_html_dir = NULL;
++
+ /* initalize html pages */
+ html_init( &s );
+