aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2023-03-02 14:48:03 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2023-05-17 17:38:21 +0200
commit68dc5218cadd64fdffb0d8ba1d99bd574a97e68c (patch)
treeac0a2267326d87a013d469ad27712f9aaad61e7c
parent9117ed32da516b31b4f22c5bfc9e4df00aa2ae57 (diff)
stream: (typo) Change callback param name of struct osmo_stream_cli from srv to cli
-rw-r--r--src/stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stream.c b/src/stream.c
index b3721c5..6afb7ca 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -261,10 +261,10 @@ struct osmo_stream_cli {
int sk_domain;
int sk_type;
uint16_t proto;
- int (*connect_cb)(struct osmo_stream_cli *srv);
- int (*disconnect_cb)(struct osmo_stream_cli *srv);
- int (*read_cb)(struct osmo_stream_cli *srv);
- int (*write_cb)(struct osmo_stream_cli *srv);
+ int (*connect_cb)(struct osmo_stream_cli *cli);
+ int (*disconnect_cb)(struct osmo_stream_cli *cli);
+ int (*read_cb)(struct osmo_stream_cli *cli);
+ int (*write_cb)(struct osmo_stream_cli *cli);
void *data;
int flags;
int reconnect_timeout;