aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2023-06-08 16:36:07 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2023-06-08 16:36:07 +0200
commitde32f6ad571a3928ea9f171886cd697032334440 (patch)
tree0ccb2827ce1c4519b2238888e410082c86749230
parent2d340403f2bd56c767472262ad89069fab32629b (diff)
cosmetic: Change name of osmo_stream_src_fd_cb()
-rw-r--r--src/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c
index c62d875..90b793f 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -953,7 +953,7 @@ struct osmo_stream_srv_link {
int flags;
};
-static int osmo_stream_srv_fd_cb(struct osmo_fd *ofd, unsigned int what)
+static int osmo_stream_srv_ofd_cb(struct osmo_fd *ofd, unsigned int what)
{
int ret;
int sock_fd;
@@ -1038,7 +1038,7 @@ struct osmo_stream_srv_link *osmo_stream_srv_link_create(void *ctx)
link->sk_domain = AF_UNSPEC;
link->sk_type = SOCK_STREAM;
link->proto = IPPROTO_TCP;
- osmo_fd_setup(&link->ofd, -1, OSMO_FD_READ | OSMO_FD_WRITE, osmo_stream_srv_fd_cb, link, 0);
+ osmo_fd_setup(&link->ofd, -1, OSMO_FD_READ | OSMO_FD_WRITE, osmo_stream_srv_ofd_cb, link, 0);
return link;
}