Commit e17bb6ce authored by Per Cederqvist's avatar Per Cederqvist

(foutput_misc_info): Adjusted to Info_datum unification. Simplified code.

parent c7afce24
/*
* $Id: ram-output.c,v 0.36 1999/06/26 11:38:12 ceder Exp $
* $Id: ram-output.c,v 0.37 2001/11/04 14:19:40 ceder Exp $
* Copyright (C) 1991, 1993-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -39,7 +39,7 @@
#endif
static const char *
rcsid = "$Id: ram-output.c,v 0.36 1999/06/26 11:38:12 ceder Exp $";
rcsid = "$Id: ram-output.c,v 0.37 2001/11/04 14:19:40 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -833,17 +833,11 @@ foutput_misc_info(FILE *fp,
switch(misc.type)
{
case recpt:
foutput_ulong((unsigned long)misc.datum.recipient, fp);
break;
case cc_recpt:
foutput_ulong((unsigned long)misc.datum.cc_recipient, fp);
break;
case bcc_recpt:
foutput_ulong((unsigned long)misc.datum.bcc_recipient, fp);
foutput_ulong((unsigned long)misc.datum.recipient, fp);
break;
case loc_no:
foutput_ulong((unsigned long)misc.datum.local_no, fp);
break;
......@@ -853,19 +847,10 @@ foutput_misc_info(FILE *fp,
break;
case comm_to:
foutput_ulong((unsigned long)misc.datum.comment_to, fp);
break;
case comm_in:
foutput_ulong((unsigned long)misc.datum.commented_in, fp);
break;
case footn_to:
foutput_ulong((unsigned long)misc.datum.footnote_to, fp);
break;
case footn_in:
foutput_ulong((unsigned long)misc.datum.footnoted_in, fp);
foutput_ulong((unsigned long)misc.datum.text_link, fp);
break;
case sent_by:
......
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