summaryrefslogtreecommitdiff
path: root/src/node_crypto_bio.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-04-06 22:47:53 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-04-10 16:55:10 +0400
commit62a214268ae39aea394ce46cb8eb53d0bdb15f99 (patch)
treee81dab89b3c6f7a522a8dd361ac883e04eeda9d8 /src/node_crypto_bio.h
parenta2fd657b10c7609e1776004156a8cd3016e2c6c8 (diff)
downloadandroid-node-v8-62a214268ae39aea394ce46cb8eb53d0bdb15f99.tar.gz
android-node-v8-62a214268ae39aea394ce46cb8eb53d0bdb15f99.tar.bz2
android-node-v8-62a214268ae39aea394ce46cb8eb53d0bdb15f99.zip
crypto: fix style issues in bio
Stop changing arguments, use local variables for things that change.
Diffstat (limited to 'src/node_crypto_bio.h')
-rw-r--r--src/node_crypto_bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto_bio.h b/src/node_crypto_bio.h
index 95d173e342..9411b3bce7 100644
--- a/src/node_crypto_bio.h
+++ b/src/node_crypto_bio.h
@@ -70,7 +70,7 @@ class NodeBIO {
void Reset();
// Put `len` bytes from `data` into buffer
- void Write(const char* data, size_t len);
+ void Write(const char* data, size_t size);
// Return size of buffer in bytes
size_t inline Length() {