diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-27 16:44:23 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-06-27 16:44:31 +0200 |
commit | 42309e34ab7172376b392152a27bf0aee683136a (patch) | |
tree | 3c152ad9ce553e8eb0aec0369b2bcd42b7eebed4 | |
parent | 7e5e18520a2b9d0a6429feaad7c7079dbc017de1 (diff) |
stream: Rename static function to have correct prefix
That function is used by the srv_link object, not the srv object. Rename
it to avoid confusion.
Change-Id: I1a3870b3a269b84ac2a9285ee6fe3389c5c96a94
-rw-r--r-- | src/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c index fdc1cc1..f007cc4 100644 --- a/src/stream.c +++ b/src/stream.c @@ -1151,7 +1151,7 @@ struct osmo_stream_srv_link { int flags; }; -static int osmo_stream_srv_ofd_cb(struct osmo_fd *ofd, unsigned int what) +static int osmo_stream_srv_link_ofd_cb(struct osmo_fd *ofd, unsigned int what) { int ret; int sock_fd; @@ -1227,7 +1227,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_ofd_cb, link, 0); + osmo_fd_setup(&link->ofd, -1, OSMO_FD_READ | OSMO_FD_WRITE, osmo_stream_srv_link_ofd_cb, link, 0); return link; } |