soprano: fix be cancel request reader

This commit is contained in:
Dmitry Simonenko 2016-11-16 16:19:30 +03:00
parent 85b70f1645
commit 62d4b52345
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ int so_beread_startup(sobestartup_t *su, uint8_t *data, uint32_t size)
su->is_cancel = 1;
rc = so_stream_read32(&su->key.key_pid, &pos, &pos_size);
if (so_unlikely(rc == -1))
return -1;
rc = so_stream_read32(&su->key.key, &pos, &pos_size);
if (so_unlikely(rc == -1))
return -1;