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

(change_name, create_conf): The argument is a const String, not a String.

parent 550e1249
/* /*
* $Id: conference.c,v 0.28 1994/12/31 15:18:26 ceder Exp $ * $Id: conference.c,v 0.29 1995/01/01 13:10:01 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association. * Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* All atomic calls that deals with conferences. * All atomic calls that deals with conferences.
*/ */
static char *rcsid = "$Id: conference.c,v 0.28 1994/12/31 15:18:26 ceder Exp $"; static char *rcsid = "$Id: conference.c,v 0.29 1995/01/01 13:10:01 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -338,8 +338,8 @@ is_supervisor(Conf_no conf, ...@@ -338,8 +338,8 @@ is_supervisor(Conf_no conf,
* of the conference to use this call. * of the conference to use this call.
*/ */
extern Success extern Success
change_name (Conf_no conf_no, change_name (Conf_no conf_no,
String new_name) const String new_name)
{ {
Conference * conf_c; Conference * conf_c;
Access acc; Access acc;
...@@ -399,8 +399,8 @@ change_name (Conf_no conf_no, ...@@ -399,8 +399,8 @@ change_name (Conf_no conf_no,
*/ */
extern Conf_no extern Conf_no
create_conf(String name, create_conf(const String name,
Conf_type type) Conf_type type)
{ {
Conf_no conf_no; Conf_no conf_no;
......
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