summaryrefslogtreecommitdiffstats
path: root/crypto_buffer_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_buffer_get.c')
-rw-r--r--crypto_buffer_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_buffer_get.c b/crypto_buffer_get.c
index 33e99f0..b2b5ad8 100644
--- a/crypto_buffer_get.c
+++ b/crypto_buffer_get.c
@@ -111,7 +111,7 @@ static int eatinfo(crypto_buffer *s, u8* start)
static int getthis(crypto_buffer *s, u8 *buf, u32 len)
{
int available;
-
+
available = s->c_end - s->c_ptr;
if (len > available) len = available;
memcpy(buf, s->c_ptr, len);