Commit e9d9405a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(set_conf_type): Return FAILURE, not 0.

parent b6b2aeb5
/*
* $Id: conference.c,v 0.25 1994/04/05 08:00:30 ceder Exp $
* $Id: conference.c,v 0.26 1994/10/22 12:06:48 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 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.25 1994/04/05 08:00:30 ceder Exp $";
static char *rcsid = "$Id: conference.c,v 0.26 1994/10/22 12:06:48 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -845,7 +845,7 @@ set_conf_type (Conf_no conf_no,
if ( type.secret && !type.rd_prot )
{
kom_errno = KOM_SECRET_PUBLIC;
return 0;
return FAILURE;
}
acc = access_perm (conf_no, conf_c, ACTPERS, ACT_P) ;
......
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