]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/admin_functions.c
The "c_smtpclient_use_starttls" configuration option has been replaced
[citadel.git] / webcit-ng / admin_functions.c
index 6071dcacc66ab33e5d567fa1c5725a2e6c1cf228..dbd3eca9576983e76021a6d9f1e9fc0c5bd7f34c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Admin functions
  *
- * Copyright (c) 1996-2017 by the citadel.org team
+ * Copyright (c) 1996-2018 by the citadel.org team
  *
  * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 3.
@@ -32,7 +32,7 @@ void try_login(struct http_transaction *h, struct ctdlsession *c)
        snprintf(buf, sizeof buf, "%s:%s", username, password);
        CtdlEncodeBase64(auth, buf, strlen(buf), 0);
 
-       syslog(LOG_DEBUG, "try_login(username='%s',password=(%d bytes))", username, strlen(password));
+       syslog(LOG_DEBUG, "try_login(username='%s',password=(%d bytes))", username, (int)strlen(password));
 
        ctdl_printf(c, "LOUT");                                                 // log out, in case we were logged in
        ctdl_readline(c, buf, sizeof(buf));                                     // ignore the result