comparison src/header.c @ 415:0430194f7ef8

Debug message cosmetic.
author markus schnalke <meillo@marmaro.de>
date Wed, 29 Feb 2012 14:36:07 +0100
parents 028bc124d744
children
comparison
equal deleted inserted replaced
414:309935f59820 415:0430194f7ef8
237 p++; 237 p++;
238 } 238 }
239 hdr->value = (*p) ? p : NULL; 239 hdr->value = (*p) ? p : NULL;
240 } 240 }
241 241
242 DEBUG(3) debugf("create_header(): hdr: `%s'\n", hdr->header); 242 DEBUG(3) debugf("create_header(): %s", hdr->header);
243 DEBUG(3) debugf("create_header(): val: `%s'\n", hdr->value); 243 /* DEBUG(3) debugf("create_header(): val: `%s'\n", hdr->value); */
244 244
245 va_end(args); 245 va_end(args);
246 return hdr; 246 return hdr;
247 } 247 }
248 248
309 } 309 }
310 hdr->id = (header_id) i; 310 hdr->id = (header_id) i;
311 hdr->header = g_strdup(line); 311 hdr->header = g_strdup(line);
312 hdr->value = hdr->header + (hdr->value - line); 312 hdr->value = hdr->header + (hdr->value - line);
313 313
314 DEBUG(4) debugf("header: %d = %s[...]", hdr->id, hdr->header); 314 DEBUG(4) debugf("header: %d = %s", hdr->id, hdr->header);
315 /* Note: This only outputs the first line if the header is folded */ 315 /* Note: This only outputs the first line if the header is folded */
316 316
317 return hdr; 317 return hdr;
318 } 318 }