Browse code

- minor warnings fixes (gcc)

Andrei Pelinescu-Onciul authored on 12/03/2003 15:55:28
Showing 3 changed files
... ...
@@ -783,7 +783,7 @@ skip_clen:
783 783
 		anchor=anchor_lump(&(msg->repl_add_rm), msg->unparsed-buf, 0, 
784 784
 							HDR_CONTENTLENGTH);
785 785
 		DBG("build_res_from_sip_res: adding content-length: %.*s\n",
786
-				clen_len, clen_buf);
786
+				(int)clen_len, clen_buf);
787 787
 		if (anchor==0) goto error_clen; /* free clen_buf*/
788 788
 		if (insert_new_lump_after(anchor, clen_buf, clen_len,
789 789
 					HDR_CONTENTLENGTH)==0)
... ...
@@ -1120,7 +1120,7 @@ char * build_res_buf_with_body_from_sip_req( unsigned int code, char *text ,
1120 1120
 	*returned_len = len;
1121 1121
 	DBG("build_*: len=%d, diff=%d\n", len, p-buf);
1122 1122
 	DBG("build_*: rport_len=%d, delete_len=%d\n", rport_len, delete_len);
1123
-	DBG("build_*: message=\n%.*s\n", len, buf);
1123
+	DBG("build_*: message=\n%.*s\n", (int)len, buf);
1124 1124
 	/* in req2reply, received_buf is not introduced to lumps and
1125 1125
 	   needs to be deleted here
1126 1126
 	*/
... ...
@@ -141,7 +141,7 @@ static int fix_actions(struct action* a)
141 141
 	struct action *t;
142 142
 	struct proxy_l* p;
143 143
 	char *tmp;
144
-	int ret,r;
144
+	int ret;
145 145
 	cmd_export_t* cmd;
146 146
 	struct sr_module* mod;
147 147
 	str s;
... ...
@@ -25,8 +25,8 @@ D - dead/not finished
25 25
 module_name       1  2  3  4  5  6  7  8
26 26
 core
27 27
 acc                                    o
28
-auth                                   E
29
-auth_db                                W
28
+auth                                   o
29
+auth_db                                o
30 30
 auth_radius                            I
31 31
 cpl             P                      o
32 32
 cpl-c           D                      E