... | ... |
@@ -10,9 +10,9 @@ auto_gen=lex.yy.c cfg.tab.c #lexx, yacc etc |
10 | 10 |
#include source related defs |
11 | 11 |
include Makefile.sources |
12 | 12 |
|
13 |
-exclude_modules=CVS |
|
14 |
-#mysql auth rr |
|
15 |
-static_modules=tm |
|
13 |
+exclude_modules=CVS mysql |
|
14 |
+#auth rr |
|
15 |
+static_modules= |
|
16 | 16 |
static_modules_path=$(addprefix modules/, $(static_modules)) |
17 | 17 |
extra_sources=$(wildcard $(addsuffix /*.c, $(static_modules_path))) |
18 | 18 |
extra_objs=$(extra_sources:.c=.o) |
... | ... |
@@ -103,8 +103,8 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \ |
103 | 103 |
|
104 | 104 |
|
105 | 105 |
#PROFILE= -pg #set this if you want profiling |
106 |
-mode = debug |
|
107 |
-#mode = release |
|
106 |
+#mode = debug |
|
107 |
+mode = release |
|
108 | 108 |
|
109 | 109 |
# platform dependent settings |
110 | 110 |
|
... | ... |
@@ -134,13 +134,14 @@ error: |
134 | 134 |
int update_sock_struct_from_via( union sockaddr_union* to, |
135 | 135 |
struct via_body* via ) |
136 | 136 |
{ |
137 |
- int err; |
|
138 | 137 |
struct hostent* he; |
139 |
- unsigned int ip; |
|
140 | 138 |
char *host_copy; |
141 | 139 |
|
142 | 140 |
|
143 | 141 |
#ifdef DNS_IP_HACK |
142 |
+ int err; |
|
143 |
+ unsigned int ip; |
|
144 |
+ |
|
144 | 145 |
ip=str2ip((unsigned char*)via->host.s,via->host.len,&err); |
145 | 146 |
if (err==0){ |
146 | 147 |
to->sin.sin_family=AF_INET; |