masqmail

diff src/connect.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 19d57eb1b6a1
line diff
     1.1 --- a/src/connect.c	Thu Sep 22 15:07:40 2011 +0200
     1.2 +++ b/src/connect.c	Thu Oct 20 10:20:59 2011 +0200
     1.3 @@ -1,19 +1,20 @@
     1.4 -/*  MasqMail
     1.5 -    Copyright (C) 1999 Oliver Kurth
     1.6 -
     1.7 -    This program is free software; you can redistribute it and/or modify
     1.8 -    it under the terms of the GNU General Public License as published by
     1.9 -    the Free Software Foundation; either version 2 of the License, or
    1.10 -    (at your option) any later version.
    1.11 -
    1.12 -    This program is distributed in the hope that it will be useful,
    1.13 -    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.15 -    GNU General Public License for more details.
    1.16 -
    1.17 -    You should have received a copy of the GNU General Public License
    1.18 -    along with this program; if not, write to the Free Software
    1.19 -    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.20 +/*
    1.21 +**  MasqMail
    1.22 +**  Copyright (C) 1999 Oliver Kurth
    1.23 +**
    1.24 +**  This program is free software; you can redistribute it and/or modify
    1.25 +**  it under the terms of the GNU General Public License as published by
    1.26 +**  the Free Software Foundation; either version 2 of the License, or
    1.27 +**  (at your option) any later version.
    1.28 +**
    1.29 +**  This program is distributed in the hope that it will be useful,
    1.30 +**  but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.31 +**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.32 +**  GNU General Public License for more details.
    1.33 +**
    1.34 +**  You should have received a copy of the GNU General Public License
    1.35 +**  along with this program; if not, write to the Free Software
    1.36 +**  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1.37  */
    1.38  #include "masqmail.h"
    1.39  
    1.40 @@ -76,15 +77,15 @@
    1.41  	return NULL;
    1.42  }
    1.43  
    1.44 -/* Given a list of resolver functions, this function
    1.45 -   resolve the host and tries to connect to the addresses
    1.46 -   returned. If a connection attemp is timed out or refused,
    1.47 -   the next address is tried.
    1.48 -
    1.49 -   TODO: the resolver functions might return duplicate addresses,
    1.50 -   if attempt failed for one it should not be tried again.
    1.51 +/*
    1.52 +**  Given a list of resolver functions, this function
    1.53 +**  resolve the host and tries to connect to the addresses
    1.54 +**  returned. If a connection attemp is timed out or refused,
    1.55 +**  the next address is tried.
    1.56 +**
    1.57 +**  TODO: the resolver functions might return duplicate addresses,
    1.58 +**  if attempt failed for one it should not be tried again.
    1.59  */
    1.60 -
    1.61  mxip_addr*
    1.62  connect_resolvelist(int *psockfd, gchar *host, guint port, GList *res_func_list)
    1.63  {
    1.64 @@ -104,8 +105,11 @@
    1.65  			g_list_free(addr_list);
    1.66  			return addr;
    1.67  		}
    1.68 -		/* previous versions complained, until someone tried to use a hostname
    1.69 -		   out there that begins with a digit. eg. '3dwars.de'. */
    1.70 +		/*
    1.71 +		**  previous versions complained, until someone tried
    1.72 +		**  to use a hostname out there that begins with a
    1.73 +		**  digit. eg. '3dwars.de'.
    1.74 +		*/
    1.75  	}
    1.76  
    1.77  	if (res_func_list == NULL) {