Commit 3eaae097 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(Adding a New Protocol Request): Fixed broken code example. Use

	has_access() instead of access_perm().
parent 9803adc6
\input texinfo
@c $Id: lyskomd.texi,v 1.67 2003/08/12 13:13:55 ceder Exp $
@c $Id: lyskomd.texi,v 1.68 2003/08/12 13:58:14 ceder Exp $
@c %**start of header
@include version.texi
......@@ -2076,7 +2076,7 @@ Success service(Conf_no conf_no, Text_no text_no)
GET_C_STAT(conf_stat, conf_no, FAILURE);
GET_T_STAT(text_stat, text_no, FAILURE);
if (access_perm(conf_no, conf_stat, active_connection <= none))
if (!has_access(conf_no, active_connection, read_protected))
err_stat = conf_no;
kom_errno = KOM_UNDEF_CONF;
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