masqmail

diff src/rewrite.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 681863fdafbb
children b27f66555ba8
line diff
     1.1 --- a/src/rewrite.c	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/rewrite.c	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -21,7 +21,7 @@
     1.4  #endif
     1.5  
     1.6  gboolean
     1.7 -set_address_header_domain(header * hdr, gchar * domain)
     1.8 +set_address_header_domain(header *hdr, gchar *domain)
     1.9  {
    1.10  	gchar *p = hdr->value;
    1.11  	gchar *new_hdr = g_strndup(hdr->header, hdr->value - hdr->header);
    1.12 @@ -67,7 +67,7 @@
    1.13  }
    1.14  
    1.15  gboolean
    1.16 -map_address_header(header * hdr, GList * table)
    1.17 +map_address_header(header *hdr, GList *table)
    1.18  {
    1.19  	GList *addr_list = addr_list_append_rfc822(NULL, hdr->value, conf.host_name);
    1.20  	GList *addr_node;