mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-09 22:38:05 +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:
parent
7048300ab8
commit
0f604439f5
2
api.cpp
2
api.cpp
@ -722,7 +722,7 @@ static bool check_connect(struct sockaddr_in *cli, char **connectaddr, char *gro
|
|||||||
static void api()
|
static void api()
|
||||||
{
|
{
|
||||||
const char *addr = opt_api_allow;
|
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];
|
char buf[MYBUFSIZ];
|
||||||
int c, n, bound;
|
int c, n, bound;
|
||||||
char *connectaddr;
|
char *connectaddr;
|
||||||
|
BIN
res/ccminer.rc
BIN
res/ccminer.rc
Binary file not shown.
Loading…
Reference in New Issue
Block a user