Browse code

- removed some debugging info + typos

Andrei Pelinescu-Onciul authored on 20/08/2003 18:25:46
Showing 1 changed files
... ...
@@ -473,12 +473,8 @@ str* subst_str(char *input, struct sip_msg* msg, struct subst_expr* se)
473 473
 		DBG("subst_str: no match\n");
474 474
 		return 0;
475 475
 	}
476
-	DBG("subst_str: orig len: %d\n", len);
477
-	for (l=lst; l; l=l->next){
478
-		DBG("subst_str: len+=%d (size=%d)\n", l->rpl.len-l->size, l->size );
476
+	for (l=lst; l; l=l->next)
479 477
 		len+=(int)(l->rpl.len)-l->size;
480
-	}
481
-	DBG("subst_str: new len: %d\n", len);
482 478
 	res=pkg_malloc(sizeof(str));
483 479
 	if (res==0){
484 480
 		LOG(L_ERR, "ERROR: subst_str: mem. allocation error\n");