diff session.h @ 1055:4d7b4c5526c5 nocircbuffer

A bit of a bodge to avoid memcpy if zlib is disabled
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Mar 2015 00:57:21 +0800
parents 01eea88963f3
children 703c7cdd2577
line wrap: on
line diff
--- a/session.h	Sun Mar 01 00:44:45 2015 +0800
+++ b/session.h	Sun Mar 01 00:57:21 2015 +0800
@@ -127,6 +127,7 @@
 	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 */