masqmail

diff src/readsock.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 3654c502a4df
children b27f66555ba8
line diff
     1.1 --- a/src/readsock.c	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/readsock.c	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -59,7 +59,7 @@
     1.4  }
     1.5  
     1.6  static void
     1.7 -_read_chug(FILE * in)
     1.8 +_read_chug(FILE *in)
     1.9  {
    1.10  	int c = 0;
    1.11  
    1.12 @@ -70,7 +70,7 @@
    1.13  }
    1.14  
    1.15  static int
    1.16 -_read_line(FILE * in, char *buf, int buf_len, int timeout)
    1.17 +_read_line(FILE *in, char *buf, int buf_len, int timeout)
    1.18  {
    1.19  	int p = 0;
    1.20  	int c = 0;
    1.21 @@ -97,7 +97,7 @@
    1.22  }
    1.23  
    1.24  int
    1.25 -read_sockline(FILE * in, char *buf, int buf_len, int timeout, unsigned int flags)
    1.26 +read_sockline(FILE *in, char *buf, int buf_len, int timeout, unsigned int flags)
    1.27  {
    1.28  	int p = 0;
    1.29  
    1.30 @@ -131,7 +131,7 @@
    1.31  }
    1.32  
    1.33  int
    1.34 -read_sockline1(FILE * in, char **pbuf, int *buf_len, int timeout, unsigned int flags)
    1.35 +read_sockline1(FILE *in, char **pbuf, int *buf_len, int timeout, unsigned int flags)
    1.36  {
    1.37  	int p = 0, size = *buf_len;
    1.38  	char *buf;