Commit 2fd71cc2 authored by Per Cederqvist's avatar Per Cederqvist

Trivial bugs fixed.

parent 5f855745
/*
* $Id: connections.c,v 0.13 1992/04/01 20:50:37 ceder Exp $
* $Id: connections.c,v 0.14 1992/04/04 17:26:09 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static char *rcsid = "$Id: connections.c,v 0.13 1992/04/01 20:50:37 ceder Exp $";
static char *rcsid = "$Id: connections.c,v 0.14 1992/04/04 17:26:09 ceder Exp $";
#include <errno.h>
......@@ -667,6 +667,7 @@ static void
login_request(ISCECB *event)
{
Connection * cp;
char *realuser;
if (isc_sessions(kom_server_mcb) >= MAX_NO_OF_CONNECTIONS)
{
......@@ -716,7 +717,7 @@ login_request(ISCECB *event)
/* Get the real user name, as returned by the Ident protocol
(rfc 931). */
realuser = ger_real_username(event->session);
realuser = get_real_username(event->session);
if (realuser != NULL)
s_crea_str(&cp->ident_user, realuser);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment