home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.orig.lzh
/
relay
/
msgs.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-27
|
515b
|
28 lines
/*
* print common messages
*/
#include <stdio.h>
#include <sys/types.h>
#include "news.h"
#include "headers.h"
#include "article.h"
#include "msgs.h"
void
fulldisk(art, file) /* complain once & set ST_DISKFULL */
register struct article *art;
char *file;
{
if (!(art->a_status&ST_DISKFULL))
art->a_status |= prfulldisk(file);
}
statust
prfulldisk(file) /* complain once & return bad status */
char *file;
{
warning("error writing `%s', probably the disk filled", file);
return ST_DISKFULL|ST_DROPPED;
}