fixed reference to wrong variable in wolfSSH_stream_send()

pull/1/head
John Safranek 2015-01-13 09:35:43 -08:00
parent 21e73bdf88
commit d83d9356d2
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ int wolfSSH_stream_send(WOLFSSH* ssh, uint8_t* buf, uint32_t bufSz)
WLOG(WS_LOG_DEBUG, "Entering wolfSSH_stream_send()");
if (ssh == NULL || data == NULL)
if (ssh == NULL || buf == NULL)
return WS_BAD_ARGUMENT;
bytesTxd = SendChannelData(ssh, ssh->channel.peerChannel, buf, bufSz);