aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/stream-client.c2
-rw-r--r--examples/stream-server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/stream-client.c b/examples/stream-client.c
index 6178dcd..e2fb901 100644
--- a/examples/stream-client.c
+++ b/examples/stream-client.c
@@ -39,7 +39,7 @@ void sighandler(int foo)
static int connect_cb(struct osmo_stream_cli *conn)
{
- LOGP(DSTREAMTEST, LOGL_NOTICE, "connected\n");
+ LOGP(DSTREAMTEST, LOGL_NOTICE, "connected: %s\n", osmo_stream_cli_get_sockname(conn));
return 0;
}
diff --git a/examples/stream-server.c b/examples/stream-server.c
index b02eefe..c1086ec 100644
--- a/examples/stream-server.c
+++ b/examples/stream-server.c
@@ -171,7 +171,7 @@ int main(void)
kbd_ofd->cb = kbd_cb;
osmo_fd_register(kbd_ofd);
- LOGP(DSTREAMTEST, LOGL_NOTICE, "Entering main loop\n");
+ LOGP(DSTREAMTEST, LOGL_NOTICE, "Entering main loop on %s\n", osmo_stream_srv_link_get_sockname(srv));
while(1) {
osmo_select_main(0);