X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fctdlproto%2Fserv_ctdlproto.c;h=cf51e62c31f27abeeec2dedc9c17749ba879381c;hp=811fcb6dc96e6f1183b7c5c979ed3906500e5ae1;hb=964604f73db61b2c82421eef207e05d0e9db0f82;hpb=a21ccc76e93fe4f0cf95257c1e5fffe76fdb09d5 diff --git a/citadel/modules/ctdlproto/serv_ctdlproto.c b/citadel/modules/ctdlproto/serv_ctdlproto.c index 811fcb6dc..cf51e62c3 100644 --- a/citadel/modules/ctdlproto/serv_ctdlproto.c +++ b/citadel/modules/ctdlproto/serv_ctdlproto.c @@ -1,7 +1,7 @@ /* - * Citadel protocoll main dispatcher + * Citadel protocol main dispatcher * - * Copyright (c) 1987-2015 by the citadel.org team + * Copyright (c) 1987-2017 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. @@ -28,19 +28,19 @@ void do_command_loop(void) { time(&CCC->lastcmd); memset(cmdbuf, 0, sizeof cmdbuf); /* Clear it, just in case */ if (client_getln(cmdbuf, sizeof cmdbuf) < 1) { - CTDLM_syslog(LOG_INFO, "Citadel client disconnected: ending session."); + syslog(LOG_INFO, "Citadel client disconnected: ending session."); CCC->kill_me = KILLME_CLIENT_DISCONNECTED; return; } /* Log the server command, but don't show passwords... */ if ( (strncasecmp(cmdbuf, "PASS", 4)) && (strncasecmp(cmdbuf, "SETP", 4)) ) { - CTDL_syslog(LOG_DEBUG, "[%s(%ld)] %s", + syslog(LOG_DEBUG, "[%s(%ld)] %s", CCC->curr_user, CCC->user.usernum, cmdbuf ); } else { - CTDL_syslog(LOG_DEBUG, "[%s(%ld)]