| 1 | diff -u -r ../torsocks-2.2.0/src/lib/torsocks.h ./src/lib/torsocks.h |
| 2 | --- ../torsocks-2.2.0/src/lib/torsocks.h 2016-10-18 12:44:01.000000000 -0400 |
| 3 | +++ ./src/lib/torsocks.h 2016-12-20 21:22:07.973637763 -0500 |
| 4 | @@ -167,7 +167,7 @@ |
| 5 | #define LIBC_GETHOSTBYADDR_R_NAME gethostbyaddr_r |
| 6 | #define LIBC_GETHOSTBYADDR_R_NAME_STR XSTR(LIBC_GETHOSTBYADDR_R_NAME) |
| 7 | #define LIBC_GETHOSTBYADDR_R_RET_TYPE int |
| 8 | -#define LIBC_GETHOSTBYADDR_R_SIG const void *addr, socklen_t len, int type, \ |
| 9 | +#define LIBC_GETHOSTBYADDR_R_SIG const void *addr, int len, int type, \ |
| 10 | struct hostent *hret, char *buf, size_t buflen, \ |
| 11 | struct hostent **result, int *h_errnop |
| 12 | #define LIBC_GETHOSTBYADDR_R_ARGS addr, len, type, hret, buf, \ |
| 13 | @@ -197,7 +197,7 @@ |
| 14 | /* recvmsg(2) */ |
| 15 | #define LIBC_RECVMSG_NAME recvmsg |
| 16 | #define LIBC_RECVMSG_NAME_STR XSTR(LIBC_RECVMSG_NAME) |
| 17 | -#define LIBC_RECVMSG_RET_TYPE ssize_t |
| 18 | +#define LIBC_RECVMSG_RET_TYPE int |
| 19 | #define LIBC_RECVMSG_SIG \ |
| 20 | int sockfd, struct msghdr *msg, int flags |
| 21 | #define LIBC_RECVMSG_ARGS \ |