Browse code

some updates

Bogdan-Andrei Iancu authored on 22/01/2002 19:23:12
Showing 1 changed files
... ...
@@ -39,8 +39,6 @@ struct sip_msg* sip_msg_cloner_1( struct sip_msg *org_msg )
39 39
     new_msg->orig=NULL;
40 40
     new_msg->buf=NULL;
41 41
 
42
-
43
-
44 42
     /* the original message - orig ( char*  type) */
45 43
     new_msg->orig = (char*)sh_malloc( new_msg->len+1 );
46 44
     if (!new_msg->orig) {
... ...
@@ -176,6 +174,12 @@ struct sip_msg* sip_msg_cloner_1( struct sip_msg *org_msg )
176 174
 	    case HDR_CONTACT :
177 175
 		new_msg->contact = new_hdr;
178 176
 		break;
177
+	    case HDR_MAXFORWARD :
178
+		new_msg->maxforward = new_hdr;
179
+		break;
180
+	    case HDR_ROUTE :
181
+		new_msg->route = new_hdr;
182
+		break;
179 183
 	    default :
180 184
 		break;
181 185
 	}