1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-08 22:07:56 +00:00

api: fix high port numbers

and convert ccminer.rc from utf-16 to Latin1 (doesnt want utf-8),
required for git diff/merge/rebase...
This commit is contained in:
Tanguy Pruvot 2015-03-05 18:24:19 +01:00
parent 7048300ab8
commit 0f604439f5
2 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ static bool check_connect(struct sockaddr_in *cli, char **connectaddr, char *gro
static void api()
{
const char *addr = opt_api_allow;
short int port = opt_api_listen; // 4068
unsigned short port = (unsigned short) opt_api_listen; // 4068
char buf[MYBUFSIZ];
int c, n, bound;
char *connectaddr;

Binary file not shown.