home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / CNews / Source / relay / msgs.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-30  |  356 b   |  21 lines

  1. /*
  2.  * print common messages
  3.  */
  4.  
  5. #include <stdio.h>
  6. #include <sys/types.h>
  7. #include "news.h"
  8. #include "headers.h"
  9. #include "article.h"
  10. #include "msgs.h"
  11. #include "rmsgs.h"
  12.  
  13. void
  14. fulldisk(art, file)            /* complain once & set status bits */
  15. register struct article *art;
  16. char *file;
  17. {
  18.     if (!(art->a_status&ST_DISKFULL))
  19.         art->a_status |= prfulldisk(file);
  20. }
  21.