From: Art Cancro Date: Thu, 4 Mar 2021 01:22:47 +0000 (-0500) Subject: move braces X-Git-Tag: v939~97 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ccd013038def6dfc585e45231f5910b9bc621b36 move braces --- 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;