oops
This commit is contained in:
parent
22157b7a34
commit
ee51985f90
2 changed files with 4 additions and 2 deletions
|
|
@ -285,7 +285,9 @@ to occur and there is an error,
|
||||||
a negative value
|
a negative value
|
||||||
.RB ( Beof )
|
.RB ( Beof )
|
||||||
is returned.
|
is returned.
|
||||||
Otherwise, the number of bytes output is returned.
|
Otherwise,
|
||||||
|
.I Bprint
|
||||||
|
returns zero.
|
||||||
.I Bvprint
|
.I Bvprint
|
||||||
does the same except it takes as argument a
|
does the same except it takes as argument a
|
||||||
.B va_list
|
.B va_list
|
||||||
|
|
|
||||||
|
|
@ -1512,7 +1512,7 @@ printpartindented(String *s, char *part, char *indent)
|
||||||
if(interrupted)
|
if(interrupted)
|
||||||
break;
|
break;
|
||||||
p[Blinelen(b)-1] = 0;
|
p[Blinelen(b)-1] = 0;
|
||||||
if(Bprint(&out, "%s%s\n", indent, p) <= 0)
|
if(Bprint(&out, "%s%s\n", indent, p) < 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Bprint(&out, "\n");
|
Bprint(&out, "\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue