]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/ctdlclient.c
This is a better version of detect_logged_in() for webcit-ng that
[citadel.git] / webcit-ng / ctdlclient.c
index 389fd983819dc8531d0770ef0cb452cf3c852ca6..3ef786707be723c70f0a917c71c97ca43f2206a5 100644 (file)
@@ -1,7 +1,7 @@
 //
 // Functions that handle communication with a Citadel Server
 //
-// Copyright (c) 1987-2021 by the citadel.org team
+// Copyright (c) 1987-2022 by the citadel.org team
 //
 // This program is open source software.  It runs great on the
 // Linux operating system (and probably elsewhere).  You can use,
@@ -57,12 +57,12 @@ int ctdl_readline(struct ctdlsession *ctdl, char *buf, int maxbytes) {
                                --len;
                        }
                        buf[len] = 0;
-                       // syslog(LOG_DEBUG, "\033[33m[ %s\033[0m", buf);
+                       syslog(LOG_DEBUG, "\033[32m[ %s\033[0m", buf);
                        return (len);
                }
                ++len;
        }
-       // syslog(LOG_DEBUG, "\033[33m[ %s\033[0m", buf);
+       syslog(LOG_DEBUG, "\033[32m[ %s\033[0m", buf);
        return (len);
 }