summaryrefslogtreecommitdiff
path: root/security/qtfw/files/patch-fwrule.cpp
blob: 22e5d7d8ed3bfbd3952544b18a875dc5252ade04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- fwrule.cpp.orig	Fri Feb 14 13:36:27 2003
+++ fwrule.cpp	Fri Feb 14 13:36:33 2003
@@ -5,6 +5,7 @@
 #include <sys/param.h>
 #include <ctype.h>
 #include <netdb.h>
+#include <netinet/in.h>
 
 #define    IPPROTO_IP              0
 
@@ -547,7 +547,7 @@
 		nCurrentIndex++;
 		ac++;
 	}
-	av = new (char*)[ac];
+	av = new char*[ac];
 	
 	/* Now fill the av[] array */
 	for (int i =0;i < ac;i++)