chenluhua1980
2026-01-08 d3e6607623a258e26e579731713407737f96a392
SourceCode/Bond/Servo/HsmsPassive.cpp
@@ -1784,9 +1784,14 @@
      goto MYREPLY;
   }
   if (!pBody->getSubItemU2(0, SVID)) {
      // also accept I2 or U4 to be tolerant with host implementations
      if (!pBody->getSubItemI2(0, (short&)SVID)) {
         pMessage->getBody()->addU1Item(SVU1, "SV");
         goto MYREPLY;
         unsigned int svidU4 = 0;
         if (!pBody->getSubItemU4(0, svidU4)) {
            pMessage->getBody()->addU1Item(SVU1, "SV");
            goto MYREPLY;
         }
         SVID = static_cast<unsigned short>(svidU4);
      }
   }