Commit 1ef7e0e8 authored by Per Cederqvist's avatar Per Cederqvist

Fixed bug in unique_name().

parent 7f8b198d
/*
* $Id: conference.c,v 0.16 1992/02/26 18:45:21 ceder Exp $
* $Id: conference.c,v 0.17 1992/04/09 09:17:44 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* All atomic calls that deals with conferences.
*/
static char *rcsid = "$Id: conference.c,v 0.16 1992/02/26 18:45:21 ceder Exp $";
static char *rcsid = "$Id: conference.c,v 0.17 1992/04/09 09:17:44 ceder Exp $";
#include <time.h>
......@@ -51,8 +51,9 @@ static char *rcsid = "$Id: conference.c,v 0.16 1992/02/26 18:45:21 ceder Exp $";
#include "internal-connections.h"
#include "internal-services.h"
/* From ram-cache.h. This will go away when we use regexp-matching. This is
* only temporary. +++***
/*
* Defined in conference.c. This will go away when we use regexp-matching.
* This is only temporary. +++***
*/
extern Conf_no *conf_table;
......@@ -216,8 +217,7 @@ unique_name( const String name, Conf_no conf_no )
diff_found = TRUE;
}
if ( !diff_found && conf_no != 0
&& conf_table[ parse_info.indexes[ i ] ] != conf_no )
if ( !diff_found && conf_table[ parse_info.indexes[ i ] ] != conf_no )
exact_match_found = TRUE;
}
......
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