]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep.c
updated config.guess in libcitadel
[citadel.git] / citadel / sysdep.c
index 53c695615cd5a8f47a6f25abd1db2cd23dfe30ef..3f69cd8ff4fab55e590ac56250675b263cb2b663 100644 (file)
@@ -428,7 +428,7 @@ void cprintf(const char *format, ...) {
                buf[sizeof buf - 2] = '\n';
        client_write(buf, strlen(buf)); 
        va_end(arg_ptr);
-}   
+}
 
 
 /*
@@ -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;