mirror of https://github.com/wolfSSL/wolfssh.git
use int type for getting example args
parent
3994d0f538
commit
fc92e85853
|
@ -195,7 +195,7 @@ THREAD_RETURN WOLFSSH_THREAD client_test(void* args)
|
||||||
socklen_t clientAddrSz = sizeof(clientAddr);
|
socklen_t clientAddrSz = sizeof(clientAddr);
|
||||||
char rxBuf[80];
|
char rxBuf[80];
|
||||||
int ret;
|
int ret;
|
||||||
char ch;
|
int ch;
|
||||||
word16 port = wolfSshPort;
|
word16 port = wolfSshPort;
|
||||||
char* host = (char*)wolfSshIp;
|
char* host = (char*)wolfSshIp;
|
||||||
const char* username = NULL;
|
const char* username = NULL;
|
||||||
|
|
|
@ -599,7 +599,7 @@ THREAD_RETURN WOLFSSH_THREAD echoserver_test(void* args)
|
||||||
word32 threadCount = 0;
|
word32 threadCount = 0;
|
||||||
int multipleConnections = 1;
|
int multipleConnections = 1;
|
||||||
int useEcc = 0;
|
int useEcc = 0;
|
||||||
char ch;
|
int ch;
|
||||||
word16 port = wolfSshPort;
|
word16 port = wolfSshPort;
|
||||||
char* readyFile = NULL;
|
char* readyFile = NULL;
|
||||||
|
|
||||||
|
|
|
@ -565,7 +565,7 @@ THREAD_RETURN WOLFSSH_THREAD server_test(void* args)
|
||||||
word16 port = wolfSshPort;
|
word16 port = wolfSshPort;
|
||||||
char multipleConnections = 0;
|
char multipleConnections = 0;
|
||||||
char useEcc = 0;
|
char useEcc = 0;
|
||||||
char ch;
|
int ch;
|
||||||
char nonBlock = 0;
|
char nonBlock = 0;
|
||||||
|
|
||||||
int argc = ((func_args*)args)->argc;
|
int argc = ((func_args*)args)->argc;
|
||||||
|
|
|
@ -217,7 +217,7 @@ THREAD_RETURN WOLFSSH_THREAD wolffwd_worker(void* args)
|
||||||
fd_set errFds;
|
fd_set errFds;
|
||||||
int nFds;
|
int nFds;
|
||||||
int ret;
|
int ret;
|
||||||
char ch;
|
int ch;
|
||||||
int appFdSet = 0;
|
int appFdSet = 0;
|
||||||
struct timeval to;
|
struct timeval to;
|
||||||
WOLFSSH_CHANNEL* fwdChannel = NULL;
|
WOLFSSH_CHANNEL* fwdChannel = NULL;
|
||||||
|
|
|
@ -788,7 +788,7 @@ THREAD_RETURN WOLFSSH_THREAD sftpclient_test(void* args)
|
||||||
SOCKADDR_IN_T clientAddr;
|
SOCKADDR_IN_T clientAddr;
|
||||||
socklen_t clientAddrSz = sizeof(clientAddr);
|
socklen_t clientAddrSz = sizeof(clientAddr);
|
||||||
int ret;
|
int ret;
|
||||||
char ch;
|
int ch;
|
||||||
word16 port = wolfSshPort;
|
word16 port = wolfSshPort;
|
||||||
char* host = (char*)wolfSshIp;
|
char* host = (char*)wolfSshIp;
|
||||||
const char* username = NULL;
|
const char* username = NULL;
|
||||||
|
|
Loading…
Reference in New Issue