fix typo, pointed out by Patrick Guio
authorNils Larsch <nils@openssl.org>
Wed, 2 Nov 2005 22:19:23 +0000 (22:19 +0000)
committerNils Larsch <nils@openssl.org>
Wed, 2 Nov 2005 22:19:23 +0000 (22:19 +0000)
doc/crypto/BIO_f_base64.pod

index 929557d22f026cf8eb15426884f9f86f9fc70364..438af3b6b66c00d62a5be05e7cf25de1879d048e 100644 (file)
@@ -63,7 +63,7 @@ data to standard output:
  bio = BIO_new_fp(stdin, BIO_NOCLOSE);
  bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
  bio = BIO_push(b64, bio);
- while((inlen = BIO_read(bio, inbuf, 512) > 0) 
+ while((inlen = BIO_read(bio, inbuf, 512)) > 0) 
        BIO_write(bio_out, inbuf, inlen);
 
  BIO_free_all(bio);