Skip to content

Commit

Permalink
Improve debugging in oncp_receive_data() a little
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 26, 2015
1 parent 7fd8a86 commit 207fc12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oncp.c
Expand Up @@ -1351,8 +1351,8 @@ static int oncp_receive_data(struct openconnect_info *vpninfo, int len, int unre
* record then it damn well ought to have the rest of it
* available already. */
vpn_progress(vpninfo, PRG_TRACE,
_("Reading additional %d bytes from oNCP...\n"),
pktlen);
_("Reading additional %d bytes (of %d still unreceived) from oNCP...\n"),
pktlen, unreceived);
ret = vpninfo->ssl_read(vpninfo, (void *)(pkt->data + (len - unreceived)),
pktlen);
if (ret < 0)
Expand Down

0 comments on commit 207fc12

Please sign in to comment.