mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Moves mutt_copy_list to muttlib.c, where it belongs.

+20 -20
+20
muttlib.c
··· 311 311 } 312 312 } 313 313 314 + LIST *mutt_copy_list (LIST *p) 315 + { 316 + LIST *t, *r=NULL, *l=NULL; 317 + 318 + for (; p; p = p->next) 319 + { 320 + t = (LIST *) safe_malloc (sizeof (LIST)); 321 + t->data = safe_strdup (p->data); 322 + t->next = NULL; 323 + if (l) 324 + { 325 + r->next = t; 326 + r = r->next; 327 + } 328 + else 329 + l = r = t; 330 + } 331 + return (l); 332 + } 333 + 314 334 HEADER *mutt_dup_header(HEADER *h) 315 335 { 316 336 HEADER *hnew;
-20
send.c
··· 324 324 } 325 325 } 326 326 327 - LIST *mutt_copy_list (LIST *p) 328 - { 329 - LIST *t, *r=NULL, *l=NULL; 330 - 331 - for (; p; p = p->next) 332 - { 333 - t = (LIST *) safe_malloc (sizeof (LIST)); 334 - t->data = safe_strdup (p->data); 335 - t->next = NULL; 336 - if (l) 337 - { 338 - r->next = t; 339 - r = r->next; 340 - } 341 - else 342 - l = r = t; 343 - } 344 - return (l); 345 - } 346 - 347 327 void mutt_forward_intro (FILE *fp, HEADER *cur) 348 328 { 349 329 char buffer[STRING];