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

(check_anonymous_subm): Removed two unused arguments. All callers

updated.
parent 51b4e900
/*
* $Id: text.c,v 0.40 1996/07/27 15:30:40 ceder Exp $
* $Id: text.c,v 0.41 1996/07/27 15:47:22 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* All atomic calls that deals with texts.
*/
static char *rcsid = "$Id: text.c,v 0.40 1996/07/27 15:30:40 ceder Exp $";
static char *rcsid = "$Id: text.c,v 0.41 1996/07/27 15:47:22 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -1450,9 +1450,7 @@ get_text_stat (Text_no text_no,
*/
static Success
check_anonymous_subm (Misc_info *misc,
int loc,
Conf_no addressee)
check_anonymous_subm(Conf_no addressee)
{
Conf_type conf_type;
......@@ -1643,7 +1641,7 @@ create_text_check_misc (u_short * no_of_misc,
/* Check that an anonymous text can be created */
if (anonymous && check_anonymous_subm(misc, i, addressee) != OK)
if (anonymous && check_anonymous_subm(addressee) != OK)
{
kom_errno = KOM_ACCESS;
return FAILURE;
......@@ -1677,7 +1675,7 @@ create_text_check_misc (u_short * no_of_misc,
/* Check that an anonymous text can be created */
if (anonymous && check_anonymous_subm(misc, i, addressee) != OK)
if (anonymous && check_anonymous_subm(addressee) != OK)
{
kom_errno = KOM_ACCESS;
return FAILURE;
......
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