X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fcitserver.c;h=9f41f35f56bc9d55ee2e9827cae596631bc99f63;hp=9832b781276932dbab8d01c4bee2e1ae96c4effc;hb=3052311a6d7a2b14d2ff24edff6344cf1ae109b4;hpb=fa351940faf673b02f6207d7b94b9c7af59ea932 diff --git a/citadel/citserver.c b/citadel/citserver.c index 9832b7812..9f41f35f5 100644 --- a/citadel/citserver.c +++ b/citadel/citserver.c @@ -373,69 +373,6 @@ void citproto_begin_admin_session() { } - - -/* - * This loop recognizes all server commands. - */ -void do_command_loop(void) { - char cmdbuf[SIZ]; - - time(&CC->lastcmd); - memset(cmdbuf, 0, sizeof cmdbuf); /* Clear it, just in case */ - if (client_getln(cmdbuf, sizeof cmdbuf) < 1) { - syslog(LOG_ERR, "Citadel client disconnected: ending session.\n"); - CC->kill_me = KILLME_CLIENT_DISCONNECTED; - return; - } - - /* Log the server command, but don't show passwords... */ - if ( (strncasecmp(cmdbuf, "PASS", 4)) && (strncasecmp(cmdbuf, "SETP", 4)) ) { - syslog(LOG_INFO, "[%d][%s(%ld)] %s", - CC->cs_pid, CC->curr_user, CC->user.usernum, cmdbuf - ); - } - else { - syslog(LOG_INFO, "[%d][%s(%ld)]