Merge pull request #126 from JacobBarthelmeh/examples

use int type for getting example args
pull/130/head
Chris Conlon 2018-12-12 12:41:20 -08:00 committed by GitHub
commit 8aa9f6103a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -195,7 +195,7 @@ THREAD_RETURN WOLFSSH_THREAD client_test(void* args)
socklen_t clientAddrSz = sizeof(clientAddr);
char rxBuf[80];
int ret;
char ch;
int ch;
word16 port = wolfSshPort;
char* host = (char*)wolfSshIp;
const char* username = NULL;

View File

@ -599,7 +599,7 @@ THREAD_RETURN WOLFSSH_THREAD echoserver_test(void* args)
word32 threadCount = 0;
int multipleConnections = 1;
int useEcc = 0;
char ch;
int ch;
word16 port = wolfSshPort;
char* readyFile = NULL;

View File

@ -565,7 +565,7 @@ THREAD_RETURN WOLFSSH_THREAD server_test(void* args)
word16 port = wolfSshPort;
char multipleConnections = 0;
char useEcc = 0;
char ch;
int ch;
char nonBlock = 0;
int argc = ((func_args*)args)->argc;

View File

@ -217,7 +217,7 @@ THREAD_RETURN WOLFSSH_THREAD wolffwd_worker(void* args)
fd_set errFds;
int nFds;
int ret;
char ch;
int ch;
int appFdSet = 0;
struct timeval to;
WOLFSSH_CHANNEL* fwdChannel = NULL;

View File

@ -788,7 +788,7 @@ THREAD_RETURN WOLFSSH_THREAD sftpclient_test(void* args)
SOCKADDR_IN_T clientAddr;
socklen_t clientAddrSz = sizeof(clientAddr);
int ret;
char ch;
int ch;
word16 port = wolfSshPort;
char* host = (char*)wolfSshIp;
const char* username = NULL;