mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-16 13:16:49 +08:00
mdns: Add null check for pbuf_skip
This commit is contained in:
committed by
Simon Goldschmidt
parent
1c5cc7bc02
commit
e3a20b3bc2
@@ -1203,7 +1203,7 @@ pbuf_skip_const(const struct pbuf *in, u16_t in_offset, u16_t *out_offset)
|
||||
* @param in input pbuf
|
||||
* @param in_offset offset to skip
|
||||
* @param out_offset resulting offset in the returned pbuf
|
||||
* @return the pbuf in the queue where the offset is
|
||||
* @return the pbuf in the queue where the offset is or NULL when the offset is too high
|
||||
*/
|
||||
struct pbuf *
|
||||
pbuf_skip(struct pbuf *in, u16_t in_offset, u16_t *out_offset)
|
||||
|
||||
Reference in New Issue
Block a user