Commit 6715455
Daniil Lemenkov
Correct length check in 'decode_message()'
This is need to correct decoding several messages placed
in common buffer (for example, ones read from common response).
Un-read 'len' if message is shortter than read buffer.1 parent f0cca9a commit 6715455
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
| |||
0 commit comments