1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +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), 0, (struct sockaddr *)(&came_from),
sizeof(came_from)); sizeof(came_from));
if (SOCKETFAIL(rep)) { 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); SOCKERRMSG, (int)reply_sock);
} else { } else {
applog(LOG_DEBUG, "API mcast reply (%s) succeeded (%d) (%d)", applog(LOG_DEBUG, "API mcast send reply (%s) succeeded (%d) (%d)",
reply, (int)rep, (int)reply_sock); replybuf, (int)rep, (int)reply_sock);
} }
CLOSESOCKET(reply_sock); CLOSESOCKET(reply_sock);