Indent.
This commit is contained in:
parent
bf88e6fa0d
commit
8402962f31
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: fgetln.3,v 1.15 2014/06/19 14:27:50 christos Exp $
|
.\" $NetBSD: fgetln.3,v 1.16 2018/07/04 07:38:38 msaitoh Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1990, 1991, 1993
|
.\" Copyright (c) 1990, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)fgetln.3 8.3 (Berkeley) 4/19/94
|
.\" @(#)fgetln.3 8.3 (Berkeley) 4/19/94
|
||||||
.\"
|
.\"
|
||||||
.Dd June 19, 2014
|
.Dd July 4, 2018
|
||||||
.Dt FGETLN 3
|
.Dt FGETLN 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -138,7 +138,7 @@ temporary buffer:
|
||||||
if (len > 0 && buf[len - 1] == '\en')
|
if (len > 0 && buf[len - 1] == '\en')
|
||||||
buf[len - 1] = '\e0';
|
buf[len - 1] = '\e0';
|
||||||
else if ((lbuf = strndup(buf, len + 1)) == NULL)
|
else if ((lbuf = strndup(buf, len + 1)) == NULL)
|
||||||
err(1, NULL);
|
err(1, NULL);
|
||||||
printf("%s\en", lbuf);
|
printf("%s\en", lbuf);
|
||||||
|
|
||||||
if (lbuf != buf)
|
if (lbuf != buf)
|
||||||
|
|
Loading…
Reference in New Issue