summaryrefslogtreecommitdiffstats
path: root/crypto_buffer_put.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:39:33 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:39:33 +0100
commit6533e74370acfa51653608b1dc5e1292c72970c9 (patch)
treedbd3b13cb10df6f341a82a5a449fcf5a4b9d9b66 /crypto_buffer_put.c
parenta583bb24fb23728c9c4ed6c6c573d526ab654c49 (diff)
downloadcrypto-6533e74370acfa51653608b1dc5e1292c72970c9.zip
crypto-6533e74370acfa51653608b1dc5e1292c72970c9.tar.gz
remove extra spaces
Diffstat (limited to 'crypto_buffer_put.c')
-rw-r--r--crypto_buffer_put.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto_buffer_put.c b/crypto_buffer_put.c
index 74f30a0..35c7730 100644
--- a/crypto_buffer_put.c
+++ b/crypto_buffer_put.c
@@ -61,14 +61,14 @@ int crypto_buffer_put(crypto_buffer *s,const u8 *buf,u32 len)
register u8* e_ptr;
register u8* e_end;
u32 free;
-
+
free = s->c_end - s->c_ptr;
if (len > free) {
if(free){
memcpy(s->c_ptr, buf, free);
buf += free;
len -= free;
- }
+ }
/* now c_buffer is full */
e_ptr = s->e_ptr;
e_end = s->e_end;