Annotation of 43BSD/contrib/mh/sbr/m_fmsg.c, revision 1.1

1.1     ! root        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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.