tcpip-forward.c: Removed unused variables shost, sport and sockopt
This commit is contained in:
parent
106bacdebc
commit
b9dc6112d7
@ -57,20 +57,15 @@ int main(int argc, char *argv[])
|
|||||||
LIBSSH2_SESSION *session;
|
LIBSSH2_SESSION *session;
|
||||||
LIBSSH2_LISTENER *listener = NULL;
|
LIBSSH2_LISTENER *listener = NULL;
|
||||||
LIBSSH2_CHANNEL *channel = NULL;
|
LIBSSH2_CHANNEL *channel = NULL;
|
||||||
const char *shost;
|
|
||||||
unsigned int sport;
|
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
ssize_t len, wr;
|
ssize_t len, wr;
|
||||||
char buf[16384];
|
char buf[16384];
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
char sockopt;
|
|
||||||
WSADATA wsadata;
|
WSADATA wsadata;
|
||||||
|
|
||||||
WSAStartup(MAKEWORD(2,0), &wsadata);
|
WSAStartup(MAKEWORD(2,0), &wsadata);
|
||||||
#else
|
|
||||||
int sockopt;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user