Commit 2463a993 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

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

parent fe695264
/* /*
* $Id: person.c,v 0.29 1994/06/18 20:35:55 ceder Exp $ * $Id: person.c,v 0.30 1995/01/01 13:10:33 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 persons. * All atomic calls that deals with persons.
*/ */
static char *rcsid = "$Id: person.c,v 0.29 1994/06/18 20:35:55 ceder Exp $"; static char *rcsid = "$Id: person.c,v 0.30 1995/01/01 13:10:33 ceder Exp $";
#include "rcs.h" #include "rcs.h"
USE(rcsid); USE(rcsid);
...@@ -510,7 +510,7 @@ unmark_text(Text_no text_no) ...@@ -510,7 +510,7 @@ unmark_text(Text_no text_no)
* occured. (0 is an illegal Pers_no). * occured. (0 is an illegal Pers_no).
*/ */
extern Pers_no extern Pers_no
create_person (String name, create_person (const String name,
const String passwd ) const String passwd )
{ {
Pers_no new_user; Pers_no new_user;
......
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