use of CMD_* instead of magic numbers

This commit is contained in:
Michael Davidsaver
2018-09-29 15:01:11 -07:00
parent e6902ee41f
commit 2fec84461d
4 changed files with 5 additions and 5 deletions

View File

@@ -1398,7 +1398,7 @@ public:
}
void send(ByteBuffer* buffer, TransportSendControl* control) {
control->startMessage((int8)5, 0);
control->startMessage(CMD_AUTHNZ, 0);
SerializationHelper::serializeFull(buffer, control, _data);
// send immediately
control->flush(true);