X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fapp%2Fdcca%2FMessage.hpp;h=006e23a0f31b984c721b366bebe43317fa58703e;hb=refs%2Fheads%2Fwithout_sql;hp=a0455d23eda1949845f2c5c9a2b845ccc33f8707;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/diameter/app/dcca/Message.hpp b/include/anna/diameter/app/dcca/Message.hpp index a0455d2..006e23a 100644 --- a/include/anna/diameter/app/dcca/Message.hpp +++ b/include/anna/diameter/app/dcca/Message.hpp @@ -84,7 +84,7 @@ public: const anna::diameter::codec::Avp * sid; int pos = 1; - while(sid = getAvp(helpers::dcca::AVPID__Subscription_Id, pos++)) + while((sid = getAvp(helpers::dcca::AVPID__Subscription_Id, pos++))) if(subscriptionIdType == sid->getAvp(helpers::dcca::AVPID__Subscription_Id_Type)->getEnumerated()->getValue()) return sid->getAvp(helpers::dcca::AVPID__Subscription_Id_Data)->getUTF8String(); return NULL; @@ -230,7 +230,7 @@ public: const anna::diameter::codec::Avp * uei; int pos = 1; - while(uei = getAvp(helpers::dcca::AVPID__User_Equipment_Info, pos++)) + while((uei = getAvp(helpers::dcca::AVPID__User_Equipment_Info, pos++))) if(userEquipmentInfoType == uei->getAvp(helpers::dcca::AVPID__User_Equipment_Info_Type)->getEnumerated()->getValue()) return uei->getAvp(helpers::dcca::AVPID__User_Equipment_Info_Value)->getOctetString(); return NULL;