mirror of https://github.com/deavmi/doap
parent
f3522d780d
commit
c3bd20415d
|
@ -686,16 +686,10 @@ public class CoapPacket
|
|||
{
|
||||
return OptionLenType._12_BIT_EXTENDED;
|
||||
}
|
||||
else if(type == 15)
|
||||
else
|
||||
{
|
||||
return OptionLenType.UPPER_PAYLOAD_MARKER;
|
||||
}
|
||||
else
|
||||
{
|
||||
writeln("GetOptionLenType(): Major error if this happens");
|
||||
assert(false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue