masqmail
diff src/connect.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 | fc1c6425c024 |
children | b27f66555ba8 |
line diff
1.1 --- a/src/connect.c Wed Sep 14 12:20:40 2011 +0200 1.2 +++ b/src/connect.c Thu Sep 22 15:07:40 2011 +0200 1.3 @@ -18,7 +18,7 @@ 1.4 #include "masqmail.h" 1.5 1.6 static GList* 1.7 -resolve_ip(GList * list, gchar * ip) 1.8 +resolve_ip(GList *list, gchar *ip) 1.9 { 1.10 struct in_addr ia; 1.11 if (inet_aton(ip, &ia)) { 1.12 @@ -34,7 +34,7 @@ 1.13 } 1.14 1.15 mxip_addr* 1.16 -connect_hostlist(int *psockfd, gchar * host, guint port, GList * addr_list) 1.17 +connect_hostlist(int *psockfd, gchar *host, guint port, GList *addr_list) 1.18 { 1.19 GList *addr_node; 1.20 struct sockaddr_in saddr; 1.21 @@ -86,7 +86,7 @@ 1.22 */ 1.23 1.24 mxip_addr* 1.25 -connect_resolvelist(int *psockfd, gchar * host, guint port, GList * res_func_list) 1.26 +connect_resolvelist(int *psockfd, gchar *host, guint port, GList *res_func_list) 1.27 { 1.28 GList *res_node; 1.29 GList *addr_list;