projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b_sock.c: fix compiler warning.
[openssl.git]
/
crypto
/
bio
/
bss_bio.c
diff --git
a/crypto/bio/bss_bio.c
b/crypto/bio/bss_bio.c
index 0f9f0955b41187f99a1bd8abcc46480c005139d9..76bd48e7679b22f6492265b84e4b61acacad75fa 100644
(file)
--- a/
crypto/bio/bss_bio.c
+++ b/
crypto/bio/bss_bio.c
@@
-919,6
+919,6
@@
int BIO_nwrite(BIO *bio, char **buf, int num)
ret = BIO_ctrl(bio, BIO_C_NWRITE, num, buf);
if (ret > 0)
- bio->num_
read
+= ret;
+ bio->num_
write
+= ret;
return ret;
}