* Perform message editing functions.
*/
-static char *SccsId = "@(#)edit.c 2.2 %G%";
+static char *SccsId = "@(#)edit.c 2.4 %G%";
/*
* Edit a message list.
register char *cp, *cp2;
register int c;
int *ip, pid, mesg, lines;
- unsigned int ms;
+ long ms;
int (*sigint)(), (*sigquit)();
FILE *ibuf, *obuf;
char edname[15], nbuf[10];
perror(edname);
goto out;
}
- if (send(mp, obuf) < 0) {
+ if (send(mp, obuf, 0) < 0) {
perror(edname);
fclose(obuf);
remove(edname);
size = fsize(otf);
mp->m_block = blockof(size);
mp->m_offset = offsetof(size);
- ms = 0;
+ ms = 0L;
lines = 0;
while ((c = getc(ibuf)) != EOF) {
if (c == '\n')