Commit 21d24d49 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(login): Get rid of apcc warning by not using "!" to negate a Bool.

parent 5b13eefc
/*
* $Id: session.c,v 0.26 1994/04/05 08:04:51 ceder Exp $
* $Id: session.c,v 0.27 1994/10/22 13:20:11 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Session control and miscellaneous.
*/
static char *rcsid = "$Id: session.c,v 0.26 1994/04/05 08:04:51 ceder Exp $";
static char *rcsid = "$Id: session.c,v 0.27 1994/10/22 13:20:11 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -216,11 +216,14 @@ login (Pers_no pers_no,
return FAILURE;
}
same_person = (ACTPERS == pers_no);
same_person = (ACTPERS == pers_no) ? TRUE : FALSE;
logout(); /*+++ How many tries are allowed before disconnection? */
active_connection->invisible = !!invisible; /* Normalize 17. */
if (invisible)
active_connection->invisible = TRUE;
else
active_connection->invisible = FALSE;
/* Don't count this as a new session if the person already was
logged on. The elisp-client version 0.38.1 logs on invisibly
......
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