summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-07-04 13:47:53 -0600
committerJens Axboe <axboe@kernel.dk>2020-07-04 13:47:53 -0600
commit2735541b95cb9d94d2d6b4011a746a0664be90da (patch)
tree7b225f9e9d8df8ae2061073fa3461aa8126797ab
parent2c73fc4774756de87e4aa4609f0e606d878914e7 (diff)
parent62858b17ba914f6c35c54f37327b4c58c9ed061a (diff)
downloadliburing-2735541b95cb9d94d2d6b4011a746a0664be90da.tar.gz
liburing-2735541b95cb9d94d2d6b4011a746a0664be90da.tar.bz2
Merge branch 'master' of https://github.com/KayEss/liburing
* 'master' of https://github.com/KayEss/liburing: Take `sockaddr` immutably in io_uring_prep_connect
-rw-r--r--src/include/liburing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index 76e2b85..0505a4f 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -322,7 +322,7 @@ static inline void io_uring_prep_link_timeout(struct io_uring_sqe *sqe,
}
static inline void io_uring_prep_connect(struct io_uring_sqe *sqe, int fd,
- struct sockaddr *addr,
+ const struct sockaddr *addr,
socklen_t addrlen)
{
io_uring_prep_rw(IORING_OP_CONNECT, sqe, fd, addr, 0, addrlen);