Kaynağa Gözat

core: improve existing DBG message, also output to tag

Henning Westerholt 7 yıl önce
ebeveyn
işleme
5ef91a63b8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/core/parser/msg_parser.c

+ 1 - 1
src/core/parser/msg_parser.c

@@ -169,7 +169,7 @@ char* get_hdr_field(char* const buf, char* const end, struct hdr_field* const hd
 			hdr->body.len=tmp-hdr->body.s;
 			DBG("<%.*s> [%d]; uri=[%.*s]\n", hdr->name.len, ZSW(hdr->name.s),
 					hdr->body.len, to_b->uri.len, ZSW(to_b->uri.s));
-			DBG("to body [%.*s]\n", to_b->body.len, ZSW(to_b->body.s));
+			DBG("to body [%.*s], to tag [%.*s]\n", to_b->body.len, ZSW(to_b->body.s), to_b->tag_value.len, ZSW(to_b->tag_value.s));
 			break;
 		case HDR_CONTENTLENGTH_T:
 			hdr->body.s=tmp;