Change in libosmo-netif[master]: Stream examples: fix typos in error message

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 6 08:09:28 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12825 )

Change subject: Stream examples: fix typos in error message
......................................................................

Stream examples: fix typos in error message

Likely a copy-paste error from corresponding client example code.

Change-Id: I47cc8c7340eb188d85a49d4f41c295bed0e1bee4
---
M examples/stream-server.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  osmith: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/examples/stream-server.c b/examples/stream-server.c
index c1086ec..f3ee315 100644
--- a/examples/stream-server.c
+++ b/examples/stream-server.c
@@ -148,7 +148,7 @@
 
 	srv = osmo_stream_srv_link_create(tall_test);
 	if (srv == NULL) {
-		fprintf(stderr, "cannot create client\n");
+		fprintf(stderr, "cannot create server link\n");
 		exit(EXIT_FAILURE);
 	}
 	osmo_stream_srv_link_set_addr(srv, "127.0.0.1");
@@ -156,7 +156,7 @@
 	osmo_stream_srv_link_set_accept_cb(srv, accept_cb);
 
 	if (osmo_stream_srv_link_open(srv) < 0) {
-		fprintf(stderr, "cannot open client\n");
+		fprintf(stderr, "cannot open server link\n");
 		exit(EXIT_FAILURE);
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/12825
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I47cc8c7340eb188d85a49d4f41c295bed0e1bee4
Gerrit-Change-Number: 12825
Gerrit-PatchSet: 3
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-CC: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190206/5aff9fa7/attachment.htm>


More information about the gerrit-log mailing list