О пользе заголовков писем :)

Aug 25, 2003 14:07

if ( inheader ) { /* Header */

/*
* A blank line signals the end of the header.
*/
if ( *buffer == '\n' ) {
if ( p->bUpdate_status_hdrs
&& status_written == FALSE ) {
if ( mp->retr_flag ) {
sprintf ( buffer, "Status: RO\n\n" );
} else {
sprintf ( buffer, "Status: U\n\n" );
}
} /* bUpdate_status_hdrs && status_written == FALSE */

inheader = 0;
body_lines = 1;
status_written = 0;

} else if ( !strncasecmp ( buffer, "X-UIDL:", 7 ) ) {
continue; /* Skip all existing UIDL lines */
Next post
Up