Drop these old references to initial window size, they were a mistake
diff --git a/src/channel.c b/src/channel.c
index 393c137..afc200b 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -779,7 +779,7 @@
 		packet = next;
 	}
 
-	if (refund_bytes && channel->remote.window_size_initial) {
+	if (refund_bytes) {
 		libssh2_channel_receive_window_adjust(channel, refund_bytes, 0);
 	}
 
diff --git a/src/packet.c b/src/packet.c
index aaf323b..a765fce 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -445,13 +445,12 @@
 					/* Pretend we didn't receive this */
 					LIBSSH2_FREE(session, data);
 
-					if (channel->remote.window_size_initial) {
 #ifdef LIBSSH2_DEBUG_CONNECTION
 	_libssh2_debug(session, LIBSSH2_DBG_CONN, "Ignoring extended data and refunding %d bytes", (int)(datalen - 13));
 #endif
-						/* Adjust the window based on the block we just freed */
-						libssh2_channel_receive_window_adjust(channel, datalen - 13, 0);
-					}
+					/* Adjust the window based on the block we just freed */
+					libssh2_channel_receive_window_adjust(channel, datalen - 13, 0);
+
 					return 0;
 				}
 
@@ -461,7 +460,7 @@
 					libssh2_error(session, LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, "Packet contains more data than we offered to receive, truncating", 0);
 					datalen = channel->remote.packet_size + data_head;
 				}
-				if (channel->remote.window_size_initial && (channel->remote.window_size <= 0)) {
+				if (channel->remote.window_size <= 0) {
 					/* Spec says we MAY ignore bytes sent beyond window_size */
 					libssh2_error(session, LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED, "The current receive window is full, data ignored", 0);
 					LIBSSH2_FREE(session, data);
@@ -470,7 +469,7 @@
 				/* Reset EOF status */
 				channel->remote.eof = 0;
 
-				if (channel->remote.window_size_initial && ((datalen - data_head) > channel->remote.window_size)) {
+				if ((datalen - data_head) > channel->remote.window_size) {
 					libssh2_error(session, LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED, "Remote sent more data than current window allows, truncating", 0);
 					datalen = channel->remote.window_size + data_head;
 				} else {