Browse Source

api.c fix mcast debug message bug

nfactor-troky
Kano 11 years ago
parent
commit
bdac0633ab
  1. 6
      api.c

6
api.c

@ -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);

Loading…
Cancel
Save