Added protocol names to all 'client disconnected' syslogs
[citadel.git] / citadel / modules / smtp / serv_smtp.c
index 6c7480adfa0d0fddcd0fc02601deb58e804b34d6..e2d9766a68826c900bb42f0431b26137b9c1c5bf 100644 (file)
@@ -840,7 +840,7 @@ void smtp_command_loop(void) {
        time(&CC->lastcmd);
        memset(cmdbuf, 0, sizeof cmdbuf); /* Clear it, just in case */
        if (client_getln(cmdbuf, sizeof cmdbuf) < 1) {
-               syslog(LOG_CRIT, "Client disconnected: ending session.\n");
+               syslog(LOG_CRIT, "SMTP: client disconnected: ending session.\n");
                CC->kill_me = KILLME_CLIENT_DISCONNECTED;
                return;
        }