Writing const-correct code in D [OT]

pragma pragma_member at pathlink.com
Wed Mar 8 14:18:14 PST 2006


In article <dunjv7$kpj$1 at digitaldaemon.com>, Kevin Bealer says...
>
>Oops .. this seems to have been cut off.. apparently a single "." causes this
>reader to destroy email.  I'll post the other 80% of the post again tonight.
>

For what it's worth, the SMTP and NNTP protocols* both use the sequence
"\r\n.\r\n" as meaning "end of data".  Depending on the quality of your
newsreader**, it might not be aware of this and won't filter it out of your
post.  Having that embedded gives you an unexpectedly truncated message, just
like you have here.


* - For those not in the know, these are for email (outbound) and usenet
respectively
** - Was it the newsreader on digitalmars.com?


- EricAnderton at yahoo



More information about the Digitalmars-d mailing list