MT#55283 const qualifier

Change-Id: Ia042e3b8fb09fd832fef60a34c380e3b156aca56
pull/2056/head
Richard Fuchs 2 weeks ago
parent 14561524dc
commit 690d601269

@ -3907,7 +3907,7 @@ done:
log_info_pop();
}
static void stream_fd_recv(struct obj *obj, char *buf, size_t len, struct sockaddr *sa, int64_t tv) {
static void stream_fd_recv(struct obj *obj, char *buf, size_t len, const struct sockaddr *sa, int64_t tv) {
struct stream_fd *sfd = (struct stream_fd *) obj;
call_t *ca = sfd->call;
if (!ca)

@ -29,7 +29,7 @@ struct poller_item {
struct obj *obj;
poller_func_t readable;
void (*recv)(struct obj *, char *b, size_t len, struct sockaddr *, int64_t);
void (*recv)(struct obj *, char *b, size_t len, const struct sockaddr *, int64_t);
poller_func_t writeable;
poller_func_t closed;
};

Loading…
Cancel
Save