network/dns_resolver/server: Add missing break in switch.

CID 991278, but that also causes CID 991176, so both of those
are fixed. Does *not* fix #12156. Might fix some of the outstanding
NFSv4 issues but I didn't look too hard.
This commit is contained in:
Augustin Cavalier
2015-06-22 19:31:23 -04:00
parent 4fe78e3499
commit 4a35186ac2
@@ -146,6 +146,8 @@ MainLoop()
switch (code) { switch (code) {
case MsgGetAddrInfo: case MsgGetAddrInfo:
result = GetAddrInfo(reinterpret_cast<char*>(buffer)); result = GetAddrInfo(reinterpret_cast<char*>(buffer));
break;
default: default:
result = B_BAD_VALUE; result = B_BAD_VALUE;
write_port(gReplyPort, MsgError, &result, sizeof(result)); write_port(gReplyPort, MsgError, &result, sizeof(result));