... | ... |
@@ -10,7 +10,7 @@ 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 mysql pike radius_acc radius_auth snmp |
|
13 |
+exclude_modules=CVS cpl cpl-c ext radius_acc radius_auth snmp |
|
14 | 14 |
static_modules= |
15 | 15 |
static_modules_path=$(addprefix modules/, $(static_modules)) |
16 | 16 |
extra_sources=$(wildcard $(addsuffix /*.c, $(static_modules_path))) |
... | ... |
@@ -165,7 +165,7 @@ char * warning_builder( struct sip_msg *msg, unsigned int *returned_len) |
165 | 165 |
|
166 | 166 |
|
167 | 167 |
|
168 |
-char* received_builder(struct sip_msg *msg, int *received_len) |
|
168 |
+char* received_builder(struct sip_msg *msg, unsigned int *received_len) |
|
169 | 169 |
{ |
170 | 170 |
char *buf; |
171 | 171 |
int len; |
... | ... |
@@ -281,9 +281,9 @@ static inline int lumps_len(struct lump* l) |
281 | 281 |
/* another helper functions, adds/Removes the lump, |
282 | 282 |
code moved form build_req_from_req */ |
283 | 283 |
|
284 |
-static /*inline*/ void process_lumps( struct lump* l, char* new_buf, |
|
285 |
- int* new_buf_offs, char* orig, |
|
286 |
- int* orig_offs) |
|
284 |
+static inline void process_lumps( struct lump* l, char* new_buf, |
|
285 |
+ unsigned int* new_buf_offs, char* orig, |
|
286 |
+ unsigned int* orig_offs) |
|
287 | 287 |
{ |
288 | 288 |
struct lump *t; |
289 | 289 |
struct lump *r; |
... | ... |
@@ -586,7 +586,7 @@ char * build_res_buf_from_sip_req( unsigned int code, char *text, |
586 | 586 |
int i; |
587 | 587 |
char backup; |
588 | 588 |
char *received_buf; |
589 |
- int received_len; |
|
589 |
+ unsigned int received_len; |
|
590 | 590 |
char *warning; |
591 | 591 |
unsigned int warning_len; |
592 | 592 |
int r; |
... | ... |
@@ -399,9 +399,9 @@ struct hostent* sip_resolvehost(char* name, unsigned short* port) |
399 | 399 |
" unable to perform SRV lookup\n", len); |
400 | 400 |
}else{ |
401 | 401 |
/* check if it's an ip address */ |
402 |
- if ( ((ip=str2ip(name, len))!=0) |
|
402 |
+ if ( ((ip=str2ip((unsigned char*)name, len))!=0) |
|
403 | 403 |
#ifdef USE_IPV6 |
404 |
- || ((ip=str2ip6(name, len))!=0) |
|
404 |
+ || ((ip=str2ip6((unsigned char*)name, len))!=0) |
|
405 | 405 |
#endif |
406 | 406 |
){ |
407 | 407 |
/* we are lucky, this is an ip address */ |