EDNS Client Subnet API
All threads resolved!
All threads resolved!
Merge request reports
Activity
Added 1 commit:
- ed0f9372 - review: consistent names of API parameters
- Resolved by Jan Včelák
- Resolved by Jan Včelák
150 150 /*! 151 151 * \brief Check the context if reading is possible. 152 152 */ 153 static inline bool wire_ctx_can_read(wire_ctx_t *ctx, size_t size) 153 static inline int wire_ctx_can_read(wire_ctx_t *ctx, size_t size) 154 154 { 155 155 assert(ctx); 156 156 157 return ctx->error == KNOT_EOK && wire_ctx_available(ctx) >= size; 157 if (ctx->error) { 445 445 assert(dst); 446 446 assert(src); 447 447 448 if (dst->error != KNOT_EOK || src->error != KNOT_EOK) { 448 if (size == 0 || dst->error != KNOT_EOK) { 449 449 return; 450 450 } 451 451 452 if (size == 0) { 452 if (wire_ctx_can_read(src, size) != KNOT_EOK) { Added 1 commit:
- 06afa093 - review: error checking consistency
- Resolved by Jan Včelák
- Resolved by Jan Včelák
- Resolved by Jan Včelák
Added 1 commit:
- b06ebaa5 - review: consistent ecs_write_address error handling
mentioned in commit a976c3af
Mentioned in commit a976c3af
Please register or sign in to reply