api.c fix mcast debug message bug
diff --git a/api.c b/api.c
index 1afbec0..9b4ba65 100644
--- a/api.c
+++ b/api.c
@@ -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);