mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 22:09:48 +00:00
Merge pull request #6626 from volta-networks/fix_stream_getf
lib: fix STREAM_GETF macro
This commit is contained in:
commit
b5f41a0793
@ -426,7 +426,7 @@ static inline const uint8_t *ptr_get_be32(const uint8_t *ptr, uint32_t *out)
|
||||
float r; \
|
||||
uint32_t d; \
|
||||
} _pval; \
|
||||
if (stream_getl2((S), &_pval.d)) \
|
||||
if (!stream_getl2((S), &_pval.d)) \
|
||||
goto stream_failure; \
|
||||
(P) = _pval.r; \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user