]> code.citadel.org Git - citadel.git/blobdiff - citadel/citserver.c
* During setup, the default LDAP port number is now 389 instead of 0.
[citadel.git] / citadel / citserver.c
index 43adab030721f81580a34d019b336ce569898029..054bf50687b3e14fc9ad213bb6cb3c273f943a8d 100644 (file)
@@ -1043,12 +1043,11 @@ void do_command_loop(void) {
        }
 
        /* Log the server command, but don't show passwords... */
-       if ( (strncasecmp(cmdbuf, "PASS", 4))
-          && (strncasecmp(cmdbuf, "SETP", 4)) ) {
+       if ( (strncasecmp(cmdbuf, "PASS", 4)) && (strncasecmp(cmdbuf, "SETP", 4)) ) {
                CtdlLogPrintf(CTDL_INFO, "%s\n", cmdbuf);
        }
        else {
-               CtdlLogPrintf(CTDL_INFO, "<password command sent>\n");
+               CtdlLogPrintf(CTDL_INFO, "<password command hidden from log>\n");
        }
 
        buffer_output();