lib/resolve nitpick: add const to a parameter

There seems no potential for modifying this one.
parent 7ac6ec9b
Pipeline #42593 failed with stages
in 113 minutes and 25 seconds
......@@ -1517,7 +1517,7 @@ static bool outbound_request_update_cookies(struct kr_request *req,
}
#endif /* defined(ENABLE_COOKIES) */
int kr_resolve_checkout(struct kr_request *request, struct sockaddr *src,
int kr_resolve_checkout(struct kr_request *request, const struct sockaddr *src,
struct sockaddr *dst, int type, knot_pkt_t *packet)
{
/* @todo: Update documentation if this function becomes approved. */
......
......@@ -298,7 +298,7 @@ int kr_resolve_produce(struct kr_request *request, struct sockaddr **dst, int *t
* @return kr_ok() or error code
*/
KR_EXPORT
int kr_resolve_checkout(struct kr_request *request, struct sockaddr *src,
int kr_resolve_checkout(struct kr_request *request, const struct sockaddr *src,
struct sockaddr *dst, int type, knot_pkt_t *packet);
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment