From b3fcffb18e7d9fc7051df155ed38c36c1d651e83 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 16 Nov 2017 14:56:59 -0600 Subject: [PATCH] avoid magic number --- src/remoteClient/clientContextImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index 271a75c..63057c4 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -4786,7 +4786,7 @@ public: } virtual void send(ByteBuffer* buffer, TransportSendControl* control) OVERRIDE FINAL { - control->startMessage((int8)17, 8); + control->startMessage((int8)CMD_GET_FIELD, 8); buffer->putInt(m_channel->getServerChannelID()); buffer->putInt(m_ioid); SerializeHelper::serializeString(m_subField, buffer, control);