From: Vsevolod Stakhov Date: Thu, 7 May 2015 14:28:29 +0000 (+0100) Subject: Fix splits. X-Git-Tag: 0.9.0~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f21054decd18934eb4996549c1be82ab175a067b;p=rspamd.git Fix splits. --- diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c index e6bd45c94..9bfb2946c 100644 --- a/src/libcryptobox/cryptobox.c +++ b/src/libcryptobox/cryptobox.c @@ -286,7 +286,7 @@ void rspamd_cryptobox_encryptv_nm_inplace (struct rspamd_cryptobox_segment *segm else { memcpy (outbuf, in, inremain); remain = sizeof (outbuf) - inremain; - + out = outbuf + inremain; inremain = 0; } }