Mercurial > masqmail
comparison src/listen.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 | 63efd381e27b |
children | b27f66555ba8 |
comparison
equal
deleted
inserted
replaced
365:934a223e4ee8 | 366:41958685480d |
---|---|
91 close(sock); | 91 close(sock); |
92 close(dup_sock); | 92 close(dup_sock); |
93 } | 93 } |
94 | 94 |
95 void | 95 void |
96 listen_port(GList * iface_list, gint qival, char *argv[]) | 96 listen_port(GList *iface_list, gint qival, char *argv[]) |
97 { | 97 { |
98 int i; | 98 int i; |
99 fd_set active_fd_set, read_fd_set; | 99 fd_set active_fd_set, read_fd_set; |
100 struct timeval tm; | 100 struct timeval tm; |
101 time_t time_before, time_now; | 101 time_t time_before, time_now; |