From d2d71edfb9b017668f6bc2a14284827e8c434628 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Fri, 28 Dec 2001 19:03:25 +0000
Subject: [PATCH] (do_add_recipient): Use ``enum info_type'' instead of
 ``Info_type''. (send_async_sub_recipient): Ditto. (remove_misc_item): Ditto.
 (create_text_add_miscs): Ditto. (send_async_add_recipient): Ditto.
 (add_recipient): Ditto.  (Bug 335).

---
 src/server/text.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/server/text.c b/src/server/text.c
index 2a1715f85..9f23f7b15 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;
-- 
GitLab