1: /* m_fmsg.c - free a folder */
   2: 
   3: #include "../h/mh.h"
   4: #include <stdio.h>
   5: 
   6: 
   7: void    m_fmsg (mp)
   8: register struct msgs *mp;
   9: {
  10:     register int    i;
  11: 
  12:     if (mp == NULL)
  13:     return;
  14: 
  15:     if (mp -> foldpath)
  16:     free (mp -> foldpath);
  17: #ifdef  MTR
  18:     free ((char *) mp -> msgbase);
  19: #endif	MTR
  20:     for (i = 0; mp -> msgattrs[i]; i++)
  21:     free (mp -> msgattrs[i]);
  22:     free ((char *) mp);
  23: }

Defined functions

m_fmsg defined in line 7; used 1 times
Last modified: 1985-10-29
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 490
Valid CSS Valid XHTML 1.0 Strict