summaryrefslogtreecommitdiff
path: root/usr.bin/mail/collect.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-26 15:47:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-26 15:47:32 +0000
commitc7982e51474fec2f2a9529530607f9fc17b875e3 (patch)
tree256534cc05cfb20de8f9e1df5e3a4af90160869e /usr.bin/mail/collect.c
parentdf876b731d4f232327086990991af10420a48f7a (diff)
Change the name of mail's send() function to sendmessages() to
avoid shadowing the libc send(2); gadams@avernus.com
Diffstat (limited to 'usr.bin/mail/collect.c')
-rw-r--r--usr.bin/mail/collect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c
index cbee1730d5e..1ad6274da1e 100644
--- a/usr.bin/mail/collect.c
+++ b/usr.bin/mail/collect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: collect.c,v 1.17 1998/06/12 18:07:54 millert Exp $ */
+/* $OpenBSD: collect.c,v 1.18 2000/04/26 15:47:30 millert Exp $ */
/* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: collect.c,v 1.17 1998/06/12 18:07:54 millert Exp $";
+static char rcsid[] = "$OpenBSD: collect.c,v 1.18 2000/04/26 15:47:30 millert Exp $";
#endif
#endif /* not lint */
@@ -589,7 +589,7 @@ forward(ms, fp, fn, f)
touch(mp);
printf(" %d", *msgvec);
- if (send(mp, fp, ig, tabst) < 0) {
+ if (sendmessage(mp, fp, ig, tabst) < 0) {
warn(fn);
return(-1);
}