Commit d3c6a6d5 authored by Mike Hibler's avatar Mike Hibler
Browse files

Bug: we were sending back zero-length UDP replies to commands that

should have no reply (e.g., "ready")
parent e5fe1220
......@@ -2851,7 +2851,7 @@ client_writeback_done(int sock, struct sockaddr_in *client)
if (sock != udpfd)
error("UDP reply out of sync!");
else {
else if (udpix != 0) {
err = sendto(udpfd, udpbuf, udpix, 0,
(struct sockaddr *)client, sizeof(*client));
if (err < 0)
Supports Markdown
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