Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 03/12/2001 20:55:11
Showing 4 changed files
... ...
@@ -6,7 +6,7 @@
6 6
 
7 7
 struct sip_msg* sip_msg_cloner( struct sip_msg *org_msg )
8 8
 {
9
-    struct sip_msg   *new_msg=NULL;
9
+    struct sip_msg   *new_msg=0;
10 10
     struct hdr_field  *header, *last_hdr, *new_hdr;
11 11
 
12 12
     /* clones the sip_msg structure */
... ...
@@ -132,7 +132,7 @@ struct sip_msg* sip_msg_cloner( struct sip_msg *org_msg )
132 132
 error:
133 133
 	sip_msg_free( new_msg );
134 134
 	sh_free( new_msg );
135
-	return NULL;
135
+	return 0;
136 136
 
137 137
 }
138 138
 
... ...
@@ -592,6 +592,7 @@ int t_send_reply(  struct sip_msg* p_msg , unsigned int code , char * text )
592 592
    }
593 593
 
594 594
    buf = build_res_buf_from_sip_req( code , text , T->inbound_request , &len );
595
+
595 596
    if (!buf)
596 597
    {
597 598
       DBG("DEBUG: t_send_reply: response building failed\n");
... ...
@@ -36,7 +36,8 @@ static struct module_exports nm_exports= {
36 36
 				"t_forward_def",
37 37
 				"t_forward_uri",
38 38
 				"t_send_reply",
39
-				"t_retransmit_reply"
39
+				"t_retransmit_reply",
40
+				"t_release"
40 41
 			},
41 42
 	(cmd_function[]){
42 43
 					t_add_transaction,
... ...
@@ -46,6 +47,7 @@ static struct module_exports nm_exports= {
46 47
 					t_forward_uri,
47 48
 					w_t_send_reply,
48 49
 					t_retransmit_reply,
50
+					t_put_on_wait
49 51
 					},
50 52
 	(int[]){
51 53
 				0,
... ...
@@ -54,6 +56,7 @@ static struct module_exports nm_exports= {
54 56
 				1,
55 57
 				0,
56 58
 				2,
59
+				0,
57 60
 				0
58 61
 			},
59 62
 	(fixup_function[]){
... ...
@@ -63,9 +66,10 @@ static struct module_exports nm_exports= {
63 66
 				fixup_t_forward_def,
64 67
 				0,
65 68
 				fixup_t_send_reply,
69
+				0,
66 70
 				0
67 71
 		},
68
-	7,
72
+	8,
69 73
 	(response_function) t_on_reply_received
70 74
 };
71 75
 
... ...
@@ -22,7 +22,7 @@ route{
22 22
 	if ( t_lookup_request()) {
23 23
 		if ( method=="ACK" )	{
24 24
 			log("SER: ACK received -> t_release\n");
25
-			t_put_on_wait();
25
+			t_release();
26 26
 		} else {
27 27
 			t_retransmit_reply();
28 28
 			log("SER: yet another annoying retranmission\n");