Mercurial > masqmail
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 wrap: on
line diff
--- a/src/base64/base64dec.c Mon Oct 27 16:21:27 2008 +0100 +++ b/src/base64/base64dec.c Mon Oct 27 16:23:10 2008 +0100 @@ -4,16 +4,17 @@ #include "base64.h" -int main() +int +main() { - gchar line[100]; - gchar *buf; - gint size; + gchar line[100]; + gchar *buf; + gint size; - while(fgets(line, 100, stdin)){ - buf = base64_decode(line, &size); - fwrite(buf, size, 1, stdout); - g_free(buf); - } - exit(0); + while (fgets(line, 100, stdin)) { + buf = base64_decode(line, &size); + fwrite(buf, size, 1, stdout); + g_free(buf); + } + exit(0); }