diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-17 01:53:49 +0200 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-17 01:53:49 +0200 | 
| commit | ee2457df7c762f379a4cd3e434d99294aa68387c (patch) | |
| tree | 202bc31de91092aba284721434a4a42c1575fd87 | |
| parent | 649c351560bf9fea9e7b889c117afa94a44150d6 (diff) | |
| download | liberty-ee2457df7c762f379a4cd3e434d99294aa68387c.tar.gz liberty-ee2457df7c762f379a4cd3e434d99294aa68387c.tar.xz liberty-ee2457df7c762f379a4cd3e434d99294aa68387c.zip | |
Fix an embarrassing bug in msg_unpacker
| -rw-r--r-- | liberty.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -2089,7 +2089,7 @@ msg_unpacker_u16 (struct msg_unpacker *self, uint16_t *value)  {  	UNPACKER_INT_BEGIN  	*value -		= (uint16_t) x[0] << 24 | (uint16_t) x[1] << 16; +		= (uint16_t) x[0] << 8  | (uint16_t) x[1];  	return true;  } | 
