Mercurial > 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 wrap: on
line diff
--- a/src/rewrite.c Wed Sep 14 12:20:40 2011 +0200 +++ b/src/rewrite.c Thu Sep 22 15:07:40 2011 +0200 @@ -21,7 +21,7 @@ #endif gboolean -set_address_header_domain(header * hdr, gchar * domain) +set_address_header_domain(header *hdr, gchar *domain) { gchar *p = hdr->value; gchar *new_hdr = g_strndup(hdr->header, hdr->value - hdr->header); @@ -67,7 +67,7 @@ } gboolean -map_address_header(header * hdr, GList * table) +map_address_header(header *hdr, GList *table) { GList *addr_list = addr_list_append_rfc822(NULL, hdr->value, conf.host_name); GList *addr_node;