plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 6b32f96d74cbc0342e88c788af0bc12d813d81f0
parent d7925b13e366aa667f80168728927751edd47151
Author: rsc <devnull@localhost>
Date:   Fri, 14 Jan 2005 18:33:54 +0000

smart sun

Diffstat:
Msrc/cmd/jpg/readppm.c | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/cmd/jpg/readppm.c b/src/cmd/jpg/readppm.c @@ -16,14 +16,12 @@ Bgetch(Biobuf *b) { int c; - for(;;) { - c = Bgetc(b); - if(c == '#') { - while((c = Bgetc(b)) != Beof && c != '\n') - ; - } - return c; - } + c = Bgetc(b); + if(c == '#') { + while((c = Bgetc(b)) != Beof && c != '\n') + ; + } + return c; } /*