masqmail

diff src/message.c @ 367:b27f66555ba8

Reformated multiline comments to have leading asterisks on each line Now we use: /* ** comment */ This makes the indent style simpler, too.
author markus schnalke <meillo@marmaro.de>
date Thu, 20 Oct 2011 10:20:59 +0200
parents 41958685480d
children
line diff
     1.1 --- a/src/message.c	Thu Sep 22 15:07:40 2011 +0200
     1.2 +++ b/src/message.c	Thu Oct 20 10:20:59 2011 +0200
     1.3 @@ -1,20 +1,21 @@
     1.4 -/*  MasqMail
     1.5 -    Copyright (C) 1999-2001 Oliver Kurth
     1.6 -    Copyright (C) 2010 markus schnalke <meillo@marmaro.de>
     1.7 -
     1.8 -    This program is free software; you can redistribute it and/or modify
     1.9 -    it under the terms of the GNU General Public License as published by
    1.10 -    the Free Software Foundation; either version 2 of the License, or
    1.11 -    (at your option) any later version.
    1.12 -
    1.13 -    This program is distributed in the hope that it will be useful,
    1.14 -    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.16 -    GNU General Public License for more details.
    1.17 -
    1.18 -    You should have received a copy of the GNU General Public License
    1.19 -    along with this program; if not, write to the Free Software
    1.20 -    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.21 +/*
    1.22 +**  MasqMail
    1.23 +**  Copyright (C) 1999-2001 Oliver Kurth
    1.24 +**  Copyright (C) 2010 markus schnalke <meillo@marmaro.de>
    1.25 +**
    1.26 +**  This program is free software; you can redistribute it and/or modify
    1.27 +**  it under the terms of the GNU General Public License as published by
    1.28 +**  the Free Software Foundation; either version 2 of the License, or
    1.29 +**  (at your option) any later version.
    1.30 +**
    1.31 +**  This program is distributed in the hope that it will be useful,
    1.32 +**  but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.33 +**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.34 +**  GNU General Public License for more details.
    1.35 +**
    1.36 +**  You should have received a copy of the GNU General Public License
    1.37 +**  along with this program; if not, write to the Free Software
    1.38 +**  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.39  */
    1.40  
    1.41  #include "masqmail.h"
    1.42 @@ -31,19 +32,19 @@
    1.43  }
    1.44  
    1.45  /*
    1.46 -   This function is currently (0.2.24) only used for client side SMTP
    1.47 -   SIZE support (RFC 1870). The flag is_smtp is always true therefore.
    1.48 -
    1.49 -   Their definition of the message size in RFC 1870 is:
    1.50 -
    1.51 -       The message size is defined as the number of octets, including
    1.52 -       CR-LF pairs, but not the SMTP DATA command's terminating dot
    1.53 -       or doubled quoting dots, to be transmitted by the SMTP client
    1.54 -       after receiving reply code 354 to the DATA command.
    1.55 -
    1.56 -   l_cnt (line count) covers '\r' characters which are not present in
    1.57 -   masqmail's internal format. Dots are also not stuffed in the
    1.58 -   internal format. Dot-stuffing is ignored in the size.
    1.59 +**  This function is currently (0.2.24) only used for client side SMTP
    1.60 +**  SIZE support (RFC 1870). The flag is_smtp is always true therefore.
    1.61 +**
    1.62 +**  Their definition of the message size in RFC 1870 is:
    1.63 +**
    1.64 +**      The message size is defined as the number of octets, including
    1.65 +**      CR-LF pairs, but not the SMTP DATA command's terminating dot
    1.66 +**      or doubled quoting dots, to be transmitted by the SMTP client
    1.67 +**      after receiving reply code 354 to the DATA command.
    1.68 +**
    1.69 +**  l_cnt (line count) covers '\r' characters which are not present in
    1.70 +**  masqmail's internal format. Dots are also not stuffed in the
    1.71 +**  internal format. Dot-stuffing is ignored in the size.
    1.72  */
    1.73  gint
    1.74  msg_calc_size(message *msg, gboolean is_smtp)