From ccd013038def6dfc585e45231f5910b9bc621b36 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 3 Mar 2021 20:22:47 -0500 Subject: [PATCH] move braces --- citadel/sysdep.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/citadel/sysdep.c b/citadel/sysdep.c index 53c695615..2eccadc64 100644 --- a/citadel/sysdep.c +++ b/citadel/sysdep.c @@ -543,8 +543,7 @@ int client_read_to(char *buf, int bytes, int timeout) } -int HaveMoreLinesWaiting(CitContext *CCC) -{ +int HaveMoreLinesWaiting(CitContext *CCC) { if ((CCC->kill_me != 0) || ( (CCC->RecvBuf.ReadWritePointer == NULL) && (StrLength(CCC->RecvBuf.Buf) == 0) && @@ -560,13 +559,11 @@ int HaveMoreLinesWaiting(CitContext *CCC) * (This is implemented in terms of client_read_to() and could be * justifiably moved out of sysdep.c) */ -INLINE int client_read(char *buf, int bytes) -{ +INLINE int client_read(char *buf, int bytes) { return(client_read_to(buf, bytes, CtdlGetConfigInt("c_sleeping"))); } -int CtdlClientGetLine(StrBuf *Target) -{ +int CtdlClientGetLine(StrBuf *Target) { CitContext *CCC=CC; const char *Error; int rc; @@ -598,8 +595,7 @@ int CtdlClientGetLine(StrBuf *Target) * (This is implemented in terms of client_read() and could be * justifiably moved out of sysdep.c) */ -int client_getln(char *buf, int bufsize) -{ +int client_getln(char *buf, int bufsize) { int i, retval; CitContext *CCC=CC; const char *pCh; -- 2.30.2