This commit is contained in:
rsc 2006-01-27 04:16:40 +00:00
parent 22157b7a34
commit ee51985f90
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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");