projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0fcfc4d
)
move braces
author
Art Cancro
<ajc@citadel.org>
Thu, 4 Mar 2021 01:22:47 +0000
(20:22 -0500)
committer
Art Cancro
<ajc@citadel.org>
Thu, 4 Mar 2021 01:22:47 +0000
(20:22 -0500)
citadel/sysdep.c
patch
|
blob
|
history
diff --git
a/citadel/sysdep.c
b/citadel/sysdep.c
index 53c695615cd5a8f47a6f25abd1db2cd23dfe30ef..2eccadc64685ca2a000ae7719b26888ad87ce3f7 100644
(file)
--- 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) &&
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)
*/
* (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")));
}
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;
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)
*/
* (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;
int i, retval;
CitContext *CCC=CC;
const char *pCh;