]> git.marmaro.de Git - mmh/blobdiff - uip/mhoutsbr.c
mhl and mhbuild ignore to long lines
[mmh] / uip / mhoutsbr.c
index 87e7943c26b5b186d02a2209ab48bc16d6959e20..2915afe34bc9c4b1ad4f3af09732e22018b79be4 100644 (file)
@@ -161,12 +161,15 @@ static void
 output_headers(CT ct, FILE *out)
 {
        HF hp;
 output_headers(CT ct, FILE *out)
 {
        HF hp;
+       charstring_t body = charstring_create(0);
 
        hp = ct->c_first_hf;
        while (hp) {
 
        hp = ct->c_first_hf;
        while (hp) {
-               fprintf(out, "%s:%s", hp->name, hp->value);
+               fold(body, strlen(hp->name), hp->value);
+               fprintf(out, "%s:%s", hp->name, charstring_buffer(body));
                hp = hp->next;
        }
                hp = hp->next;
        }
+       charstring_free(body);
 }
 
 
 }