masqmail
diff src/readtest.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 | dcb315792513 |
line diff
1.1 --- a/src/readtest.c Mon Oct 27 16:21:27 2008 +0100 1.2 +++ b/src/readtest.c Mon Oct 27 16:23:10 2008 +0100 1.3 @@ -2,18 +2,17 @@ 1.4 #include "masqmail.h" 1.5 #include "readsock.h" 1.6 1.7 -int main() 1.8 +int 1.9 +main() 1.10 { 1.11 - char *buf = g_malloc(20); 1.12 - int size = 20, ret; 1.13 + char *buf = g_malloc(20); 1.14 + int size = 20, ret; 1.15 1.16 - ret = read_sockline1(stdin, &buf, &size, 60, READSOCKL_CVT_CRLF); 1.17 - // ret = read_sockline(stdin, buf, size, 60, READSOCKL_CHUG); 1.18 + ret = read_sockline1(stdin, &buf, &size, 60, READSOCKL_CVT_CRLF); 1.19 + // ret = read_sockline(stdin, buf, size, 60, READSOCKL_CHUG); 1.20 1.21 - printf("%s\n", buf); 1.22 - printf("ret = %d, size = %d, strlen = %d\n", ret, size, strlen(buf)); 1.23 + printf("%s\n", buf); 1.24 + printf("ret = %d, size = %d, strlen = %d\n", ret, size, strlen(buf)); 1.25 1.26 - return 0; 1.27 + return 0; 1.28 } 1.29 - 1.30 -