From ff6f2dbe52b5e2df3780fa9683a20b9722d26b15 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 17 May 2005 17:18:48 +0000 Subject: [PATCH] Typo: ALWAYS TEST FIRST --- src/sftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sftp.c b/src/sftp.c index 786444b..9f2c376 100644 --- a/src/sftp.c +++ b/src/sftp.c @@ -159,7 +159,7 @@ static int libssh2_sftp_packet_read(LIBSSH2_SFTP *sftp, int should_block) LIBSSH2_SESSION *session = channel->session; unsigned char buffer[4]; /* To store the packet length */ unsigned char *packet; - unsigned long packet_len, packet_remaining; + unsigned long packet_len, packet_received; #ifdef LIBSSH2_DEBUG_SFTP _libssh2_debug(session, LIBSSH2_DBG_SFTP, "Waiting for packet: %s block", should_block ? "will" : "willnot");