Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 06/03/2002 16:49:46
Showing 2 changed files
... ...
@@ -79,9 +79,8 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
79 79
 	 -DDNS_IP_HACK  -DPKG_MALLOC \
80 80
 	 -DF_MALLOC  -DUSE_SYNONIM\
81 81
 	 -DSHM_MEM  -DSHM_MMAP \
82
-	 -DNO_DEBUG \
83 82
 	 -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 \
84
-	 -DWAIT -DNEW_HNAME  #-DNOISY_REPLIES -DBOGDAN_TRIFLE \
83
+	 -DWAIT -DNEW_HNAME  -DNOISY_REPLIES -DBOGDAN_TRIFLE \
85 84
 	 #-DNO_DEBUG \
86 85
 	 #-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=0 \
87 86
 	 #-DNOSMP \
... ...
@@ -105,8 +104,8 @@ endif
105 104
 
106 105
 
107 106
 #PROFILE=  -pg #set this if you want profiling
108
-#mode = debug
109
-mode = release
107
+mode = debug
108
+#mode = release
110 109
 
111 110
 # platform dependent settings
112 111
 
... ...
@@ -93,12 +93,14 @@ char* parse_to_param(char *buffer, char *end, struct to_body *to_b,
93 93
 					case TAG2:
94 94
 						param->name.len = tmp-param->name.s;
95 95
 						*tmp=0;
96
-						status = S_EQUAL;
96
+						saved_status = S_EQUAL;
97
+						status = F_LF;
97 98
 						break;
98 99
 					case PARA_VALUE_TOKEN:
99 100
 						param->value.len = tmp-param->value.s;
100 101
 						*tmp=0;
101
-						status = E_PARA_VALUE;
102
+						saved_status = E_PARA_VALUE;
103
+						status = F_LF;
102 104
 						add_param( param , to_b );
103 105
 						break;
104 106
 					case F_CR:
... ...
@@ -130,12 +132,14 @@ char* parse_to_param(char *buffer, char *end, struct to_body *to_b,
130 132
 					case TAG2:
131 133
 						param->name.len = tmp-param->name.s;
132 134
 						*tmp=0;
133
-						status = S_EQUAL;
135
+						saved_status = S_EQUAL;
136
+						status = F_CR;
134 137
 						break;
135 138
 					case PARA_VALUE_TOKEN:
136 139
 						param->value.len = tmp-param->value.s;
137 140
 						*tmp=0;
138
-						status = E_PARA_VALUE;
141
+						saved_status = E_PARA_VALUE;
142
+						status = F_CR;
139 143
 						add_param( param , to_b );
140 144
 						break;
141 145
 					case F_CRLF: