From e5826e3c5a317f24c1c1e5b48cc6200e3f81edf2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 9 Jan 2015 08:22:29 +0100 Subject: More comment fixes --- src/handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handshake.c') diff --git a/src/handshake.c b/src/handshake.c index 7dd5b44..9b2c955 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -77,7 +77,7 @@ static inline uint32_t as_uint32(const fastd_handshake_record_t *record) { return as_uint24(record) << 8 | record->data[3]; } -/** Reads a TLV record as a 16bit integer (little endian) */ +/** Reads a TLV record as a 16bit integer (little or big endian) */ static inline uint16_t as_uint16_endian(const fastd_handshake_record_t *record, bool little_endian) { if (little_endian) return as_uint8(record) | (uint16_t)record->data[1] << 8; -- cgit v1.2.3