summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mail/copymt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mail/copymt.c')
-rw-r--r--usr/src/cmd/mail/copymt.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/src/cmd/mail/copymt.c b/usr/src/cmd/mail/copymt.c
index 75960842c5..3d2289a8b6 100644
--- a/usr/src/cmd/mail/copymt.c
+++ b/usr/src/cmd/mail/copymt.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,14 @@
*
* CDDL HEADER END
*/
+
+/*
+ * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+ */
+
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 2.1 */
/*
NAME
copymt - copy mail (f1) to temp (f2)
@@ -62,7 +64,7 @@ register FILE *f1, *f2;
nextadr = let[nlet].adr;
}
- while ((n = getline(line, sizeof line, f1)) > 0) {
+ while ((n = getaline(line, sizeof line, f1)) > 0) {
if (!newline) {
goto putout;
} else if ((hdr = isheader (line, &ctf)) == FALSE) {