A bit of a bodge to avoid memcpy if zlib is disabled

--HG--
branch : nocircbuffer
This commit is contained in:
Matt Johnston
2015-03-01 00:57:21 +08:00
parent 989c5c1436
commit 579463933b
3 changed files with 18 additions and 10 deletions

View File

@@ -127,6 +127,7 @@ struct sshsession {
struct Queue writequeue; /* A queue of encrypted packets to send */
buffer *readbuf; /* From the wire, decrypted in-place */
buffer *payload; /* Post-decompression, the actual SSH packet */
unsigned int payload_beginning;
unsigned int transseq, recvseq; /* Sequence IDs */
/* Packet-handling flags */