1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

api.c fix mcast debug message bug

This commit is contained in:
Kano 2013-08-23 17:06:35 +10:00
parent af552d21eb
commit bdac0633ab

6
api.c
View File

@ -4411,11 +4411,11 @@ static void mcast()
0, (struct sockaddr *)(&came_from),
sizeof(came_from));
if (SOCKETFAIL(rep)) {
applog(LOG_DEBUG, "API mcast reply failed (%s) (%d)",
applog(LOG_DEBUG, "API mcast send reply failed (%s) (%d)",
SOCKERRMSG, (int)reply_sock);
} else {
applog(LOG_DEBUG, "API mcast reply (%s) succeeded (%d) (%d)",
reply, (int)rep, (int)reply_sock);
applog(LOG_DEBUG, "API mcast send reply (%s) succeeded (%d) (%d)",
replybuf, (int)rep, (int)reply_sock);
}
CLOSESOCKET(reply_sock);