diff --git a/src/server/text.c b/src/server/text.c index 2a1715f85b0412a66efccef16ec76cf85c84d887..9f23f7b15ad33bc9b5da346f8af5be132a278424 100644 --- a/src/server/text.c +++ b/src/server/text.c @@ -1,5 +1,5 @@ /* - * $Id: text.c,v 0.90 2001/11/18 22:51:52 ceder Exp $ + * $Id: text.c,v 0.91 2001/12/28 19:03:25 ceder Exp $ * Copyright (C) 1991-2001 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -366,10 +366,10 @@ do_add_comment(Text_no comment, * Say that RECEIVER is a recipient of TEXT. */ static Success -do_add_recipient(Text_no text, - Text_stat * text_s, /* May be NULL */ - Conf_no receiver, - Info_type recv_type) +do_add_recipient(Text_no text, + Text_stat * text_s, /* May be NULL */ + Conf_no receiver, + enum info_type recv_type) { Conference *rece_c; @@ -530,7 +530,7 @@ static void send_async_sub_recipient(Text_no text_no, const Text_stat *text_s, Conf_no conf_no, - Info_type type) + enum info_type type) { Connection *cptr; Session_no i = 0; @@ -653,10 +653,10 @@ do_sub_recpt(Text_no text_no, /* OTHER is a INFO_TYPE to text number TEXT (whose text status is TEXT_S). This function removes that misc-info from TEXT_S. */ static void -remove_misc_item(Text_no text, - Text_stat *text_s, - Info_type info_type, - Text_no other) +remove_misc_item(Text_no text, + Text_stat *text_s, + enum info_type info_type, + Text_no other) { int i; @@ -1867,7 +1867,7 @@ create_text_add_miscs(Text_no new_text, default: #endif case unknown_info: - restart_kom("create_text_add_misc() - illegal Info_type"); + restart_kom("create_text_add_misc() - illegal enum info_type"); } } return OK; @@ -2423,7 +2423,7 @@ static void send_async_add_recipient(Text_no text_no, const Text_stat *text_s, Conf_no conf_no, - Info_type type) + enum info_type type) { Connection *cptr; Session_no i = 0; @@ -2450,9 +2450,9 @@ send_async_add_recipient(Text_no text_no, * Add a recipient to a text. */ extern Success -add_recipient(Text_no text_no, - Conf_no conf_no, - Info_type type) /* recpt, cc_recpt or bcc_recpt */ +add_recipient(Text_no text_no, + Conf_no conf_no, + enum info_type type) /* recpt, cc_recpt or bcc_recpt */ { Text_stat *t_stat; Conference *conf_c;