masqmail

diff src/alias.c @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents 273f6c9eb6a2
children b27f66555ba8
line diff
     1.1 --- a/src/alias.c	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/alias.c	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -21,7 +21,7 @@
     1.4  #include <fnmatch.h>
     1.5  
     1.6  gboolean
     1.7 -addr_is_local(address * addr)
     1.8 +addr_is_local(address *addr)
     1.9  {
    1.10  	GList *dom_node;
    1.11  	GList *addr_node;
    1.12 @@ -65,7 +65,7 @@
    1.13  }
    1.14  
    1.15  static GList*
    1.16 -parse_list(gchar * line)
    1.17 +parse_list(gchar *line)
    1.18  {
    1.19  	GList *list = NULL;
    1.20  	gchar buf[256];
    1.21 @@ -107,14 +107,14 @@
    1.22  addr is assumed to be local and no pipe address nor not-to-expand
    1.23  */
    1.24  static GList*
    1.25 -expand_one(GList* alias_table, address* addr)
    1.26 +expand_one(GList *alias_table, address *addr)
    1.27  {
    1.28  	GList *val_list;
    1.29  	GList *val_node;
    1.30  	GList *alias_list = NULL;
    1.31  	GList *alias_node;
    1.32  	gchar *val;
    1.33 -	address* alias_addr;
    1.34 +	address *alias_addr;
    1.35  
    1.36  	/* expand the local alias */
    1.37  	DEBUG(6) debugf("alias: '%s' is local and will get expanded\n", addr->local_part);
    1.38 @@ -198,7 +198,7 @@
    1.39  }
    1.40  
    1.41  GList*
    1.42 -alias_expand(GList* alias_table, GList* rcpt_list, GList* non_rcpt_list)
    1.43 +alias_expand(GList *alias_table, GList *rcpt_list, GList *non_rcpt_list)
    1.44  {
    1.45  	GList *rcpt_node = NULL;
    1.46  	GList *alias_list = NULL;