commit | ac9e2d8aa52cbc4198cd94ab9d9c92c3317a979f | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <axilirator@gmail.com> | Sun May 14 20:52:46 2017 +0300 |
committer | Harald Welte <laforge@gnumonks.org> | Mon May 15 12:51:15 2017 +0000 |
tree | 645e666c771478a66546c72f7361756217af1618 | |
parent | 35b54d12bbedd61562bd9f5a3131024a166a4835 [diff] [blame] |
gsm/tlv.h: fix copy-paste error Change-Id: Id52ddd8358fd4af1ecc71142deb09f1e237021f3
diff --git a/include/osmocom/gsm/tlv.h b/include/osmocom/gsm/tlv.h index 8caddae..4a9bd27 100644 --- a/include/osmocom/gsm/tlv.h +++ b/include/osmocom/gsm/tlv.h
@@ -68,9 +68,9 @@ uint16_t ret; if (len <= TVLV_MAX_ONEBYTE) - return TLV_GROSS_LEN(len); + ret = TLV_GROSS_LEN(len); else - return TL16V_GROSS_LEN(len); + ret = TL16V_GROSS_LEN(len); if (tag > TVLV_MAX_ONEBYTE) ret += 1;