Pass the correct size

Reported by coverity.
parent a71e2a0a
......@@ -518,7 +518,7 @@ vca_accept_task(struct worker *wrk, void *arg)
strcpy(lport, "0");
} else {
VTCP_myname(ls->sock, laddr, VTCP_ADDRBUFSIZE,
lport, VTCP_ADDRBUFSIZE);
lport, VTCP_PORTBUFSIZE);
}
VSL(SLT_SessError, 0, "%s %s %s %d %d %s",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment