projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
428202e
)
IV included length check fix.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 11 Sep 2006 15:25:07 +0000
(15:25 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 11 Sep 2006 15:25:07 +0000
(15:25 +0000)
lib/silccore/silcpacket.c
patch
|
blob
|
history
diff --git
a/lib/silccore/silcpacket.c
b/lib/silccore/silcpacket.c
index 5c584d190f2fec507d9e421858d5f45ee9c05ca7..737c36f55a3f8a0008df1afc81e197da03a3ef12 100644
(file)
--- a/
lib/silccore/silcpacket.c
+++ b/
lib/silccore/silcpacket.c
@@
-1325,8
+1325,8
@@
static void silc_packet_read_process(SilcPacketStream stream)
ivlen = psnlen = 0;
if (silc_buffer_len(&stream->inbuf) <
- stream->iv_included ? SILC_PACKET_MIN_HEADER_LEN :
- SILC_PACKET_MIN_HEADER_LEN
_IV
) {
+ stream->iv_included ? SILC_PACKET_MIN_HEADER_LEN
_IV
:
+ SILC_PACKET_MIN_HEADER_LEN) {
SILC_LOG_DEBUG(("Partial packet in queue, waiting for the rest"));
return;
}