Browse code

tm: updated comments for removed obsolete DYN_BUF define condition

Daniel-Constantin Mierla authored on 21/05/2020 08:04:44
Showing 1 changed files
... ...
@@ -187,12 +187,12 @@ int uac_refresh_hdr_shortcuts(tm_cell_t *tcell, char *buf, int buf_len)
187 187
 	tcell->cseq_n.len = (int)(cs->number.s + cs->number.len - lreq.cseq->name.s);
188 188
 
189 189
 	LM_DBG("cseq: [%.*s]\n", tcell->cseq_n.len, tcell->cseq_n.s);
190
-	lreq.buf=0; /* covers the obsolete DYN_BUF */
190
+	lreq.buf=0;
191 191
 	free_sip_msg(&lreq);
192 192
 	return 0;
193 193
 
194 194
 error:
195
-	lreq.buf=0; /* covers the obsolete DYN_BUF */
195
+	lreq.buf=0;
196 196
 	free_sip_msg(&lreq);
197 197
 	return -1;
198 198
 }
... ...
@@ -378,7 +378,7 @@ clean:
378 378
 		lreq.dst_uri.s=0;
379 379
 		lreq.dst_uri.len=0;
380 380
 	}
381
-	lreq.buf=0; /* covers the obsolete DYN_BUF */
381
+	lreq.buf=0;
382 382
 	free_sip_msg(&lreq);
383 383
 	return refresh_shortcuts;
384 384
 }
... ...
@@ -546,7 +546,7 @@ static inline int t_uac_prepare(uac_req_t *uac_r,
546 546
 				LM_ERR("failed to parse headers on uas for failover\n");
547 547
 			} else {
548 548
 				new_cell->uas.request = sip_msg_cloner(&lreq, &sip_msg_len);
549
-				lreq.buf=0; /* covers the obsolete DYN_BUF */
549
+				lreq.buf=0;
550 550
 				free_sip_msg(&lreq);
551 551
 				if (!new_cell->uas.request) {
552 552
 					LM_ERR("no more shmem\n");