Browse code

- fixed some of the warnings - fixed typo in db_ops/db_ops.c - eval module excluded from the compiled-by-default-list (bec. it doesn't compile yet)

Andrei Pelinescu-Onciul authored on 20/09/2006 17:15:34
Showing 3 changed files
... ...
@@ -48,14 +48,16 @@ skip_cfg_install?=
48 48
 skip_modules?=
49 49
 
50 50
 # if not set on the cmd. line or the env, exclude this modules:
51
-exclude_modules?= 			acc cpl ext extcmd radius_acc radius_auth vm group mangler auth_diameter \
51
+exclude_modules?= 			acc cpl ext extcmd radius_acc radius_auth vm\
52
+							group mangler auth_diameter \
52 53
 							postgres snmp \
53 54
 							im \
54 55
 							jabber mysql \
55 56
 							cpl-c \
56 57
 							auth_radius group_radius uri_radius avp_radius \
57
-							acc_radius dialog pa rls presence_b2b xcap xmlrpc osp tls \
58
-							unixsock
58
+							acc_radius dialog pa rls presence_b2b xcap xmlrpc\
59
+							osp tls \
60
+							unixsock eval
59 61
 # always exclude the CVS dir
60 62
 override exclude_modules+= CVS $(skip_modules)
61 63
 
... ...
@@ -835,8 +835,8 @@ again:
835 835
 		 *  On newer kernels this is fixed (si_band is long in the kernel too).
836 836
 		 * -- andrei */
837 837
 		if  ((_os_ver<0x020605) && (sizeof(siginfo.si_band)>sizeof(int))){
838
-			sigio_band=*((int*)&siginfo.si_band);
839
-			sigio_fd=*(((int*)&siginfo.si_band)+1);
838
+			sigio_band=*((int*)(void*)&siginfo.si_band);
839
+			sigio_fd=*(((int*)(void*)&siginfo.si_band)+1);
840 840
 		}else
841 841
 #endif
842 842
 		{
... ...
@@ -236,6 +236,7 @@ static inline int get_contact_uri(struct sip_msg* _m, str* _uri)
236 236
 	contact_t* c;
237 237
 
238 238
 	_uri->len = 0;
239
+	_uri->s = 0;
239 240
 
240 241
 	if (!_m->contact) return 1;
241 242