fix some error

This commit is contained in:
heavyrain.lee
2019-05-25 22:53:10 +08:00
parent db24edf7d5
commit b1c5692322
4 changed files with 18 additions and 43 deletions
@@ -114,7 +114,7 @@ public class Qos1PublishHandler extends QosPublishHandler {
byte[] response = new byte[ackPayload.readableBytes()];
ackPayload.readBytes(response);
ReferenceCountUtil.release(ackPayload);
RPCCenter.getInstance().sendResponse(ERROR_CODE_SUCCESS.getCode(), response, from, requestId);
RPCCenter.getInstance().sendResponse(errorCode.getCode(), response, from, requestId);
}
}, isAdmin);
}