masqmail-0.2

diff src/base64/base64dec.c @ 10:26e34ae9a3e3

changed indention and line wrapping to a more consistent style
author meillo@marmaro.de
date Mon, 27 Oct 2008 16:23:10 +0100
parents 08114f7dcc23
children
line diff
     1.1 --- a/src/base64/base64dec.c	Mon Oct 27 16:21:27 2008 +0100
     1.2 +++ b/src/base64/base64dec.c	Mon Oct 27 16:23:10 2008 +0100
     1.3 @@ -4,16 +4,17 @@
     1.4  
     1.5  #include "base64.h"
     1.6  
     1.7 -int main()
     1.8 +int
     1.9 +main()
    1.10  {
    1.11 -  gchar line[100];
    1.12 -  gchar *buf;
    1.13 -  gint size;
    1.14 +	gchar line[100];
    1.15 +	gchar *buf;
    1.16 +	gint size;
    1.17  
    1.18 -  while(fgets(line, 100, stdin)){
    1.19 -    buf = base64_decode(line, &size);
    1.20 -    fwrite(buf, size, 1, stdout);
    1.21 -    g_free(buf);
    1.22 -  }
    1.23 -  exit(0);
    1.24 +	while (fgets(line, 100, stdin)) {
    1.25 +		buf = base64_decode(line, &size);
    1.26 +		fwrite(buf, size, 1, stdout);
    1.27 +		g_free(buf);
    1.28 +	}
    1.29 +	exit(0);
    1.30  }