18 lines
500 B
Diff
18 lines
500 B
Diff
--- src/remote.c.orig 2017-01-20 16:46:45.037618348 -0600
|
|
+++ src/remote.c 2017-01-20 16:47:18.504616161 -0600
|
|
@@ -43,13 +43,13 @@
|
|
#include "readline.h"
|
|
#include "utils.h"
|
|
|
|
-int open_remote(int fdio, const char *destip, const u_short destport)
|
|
+int open_remote(int fdio, const char *destip, const unsigned short destport)
|
|
{
|
|
int s;
|
|
struct sockaddr_in addr_in;
|
|
struct termios termios;
|
|
char kb[512];
|
|
- u_char outbuf[512];
|
|
+ unsigned char outbuf[512];
|
|
int rc;
|
|
int i;
|
|
struct timeval tv;
|