#3 Some messages don't have blank line between header and body

open
nobody
None
5
2004-02-04
2004-02-04
Anonymous
No

readpst exports some messages with headers and body
text adjacent - there is no separating blank line. This
corrupts the message.

The attached patch adds a newline.

Q'n'D, not thoroughly tested.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Oops. Submitted by <johnh@aproposretail.com>

    Comments welcome.

     
  • Nobody/Anonymous

    Logged In: NO

    Dammit. Attachment got lost.

    Here:

    *** readpst.c 2004/02/04 20:53:14 1.1
    --- readpst.c 2004/02/04 20:56:00
    ***************
    *** 400,405 ****
    --- 400,406 ----

    fprintf(f->output, "From \"%s\" %s\n%s\n",
    item->email->outlook_sender_name, c_time,
    /*item->sender_address,*/ item->email->header);
    + fprintf(f->output, "\n");
    } else {
    //make up our own header!
    fprintf(f->output, "From \"%s\" %s\n",
    item->email->outlook_sender_name, c_time);

     
  • Sowmya S

    Sowmya S - 2004-02-19

    Logged In: YES
    user_id=872523

    bug persists
    Still some messages don't have blank line between header and
    body

    sowmya

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks