Package: firestarter / 1.0.3-11

10_dhcp_hook.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Yann Verley <yann.verley@free.fr>
Subject: Print newline

---
 src/scriptwriter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/scriptwriter.c
+++ b/src/scriptwriter.c
@@ -500,7 +500,7 @@
 			list = g_list_append (list, g_strdup (buf));
 	}
 
-	rewind (f);
+	fprintf (f, "\n");
 	fprintf (f, FIRESTARTER_HOOK);
 
 	link = list;