Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / sbr / RCS / m_fmsg.c,v
1 head    1.3;
2 access;
3 symbols;
4 locks; strict;
5 comment @ * @;
6
7
8 1.3
9 date    92.12.15.00.20.22;      author jromine; state Exp;
10 branches;
11 next    1.2;
12
13 1.2
14 date    92.12.14.17.47.34;      author jromine; state Exp;
15 branches;
16 next    1.1;
17
18 1.1
19 date    92.12.14.17.44.38;      author jromine; state Exp;
20 branches;
21 next    ;
22
23
24 desc
25 @@
26
27
28 1.3
29 log
30 @endif sugar
31 @
32 text
33 @/* m_fmsg.c - free a folder */
34 #ifndef lint
35 static char ident[] = "@@(#)$Id: m_fmsg.c,v 1.2 1992/12/14 17:47:34 jromine Exp jromine $";
36 #endif  /* lint */
37
38 #include "../h/mh.h"
39 #include <stdio.h>
40
41
42 void    m_fmsg (mp)
43 register struct msgs *mp;
44 {
45     register int    i;
46
47     if (mp == NULL)
48         return;
49
50     if (mp -> foldpath)
51         free (mp -> foldpath);
52 #ifdef  MTR
53     free ((char *) mp -> msgbase);
54 #endif  /* MTR */
55     for (i = 0; mp -> msgattrs[i]; i++)
56         free (mp -> msgattrs[i]);
57     free ((char *) mp);
58 }
59 @
60
61
62 1.2
63 log
64 @add id
65 @
66 text
67 @d3 1
68 a3 1
69 static char ident[] = "@@(#)$Id: pidwait.c,v 1.9 1992/12/14 17:10:58 jromine Exp $";
70 d22 1
71 a22 1
72 #endif  MTR
73 @
74
75
76 1.1
77 log
78 @Initial revision
79 @
80 text
81 @d2 3
82 @