[PATCH] libosmocore[master]: fix printf format for commit 'osmo_sock_init(): include host...

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Aug 29 09:23:00 UTC 2016


Review at  https://gerrit.osmocom.org/773

fix printf format for commit 'osmo_sock_init(): include host and port in error messages'

Related: CID#143566
Change-Id: I75c542089749a0875d3d1913151fe838d7722ff2
---
M src/socket.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/73/773/1

diff --git a/src/socket.c b/src/socket.c
index a36aee7..19c513a 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -73,7 +73,7 @@
 	if ((flags & (OSMO_SOCK_F_BIND | OSMO_SOCK_F_CONNECT)) ==
 		     (OSMO_SOCK_F_BIND | OSMO_SOCK_F_CONNECT)) {
 		fprintf(stderr, "invalid: both bind and connect flags set:"
-			" %s:%u: %s\n", host, port);
+			" %s:%u\n", host, port);
 		return -EINVAL;
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/773
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I75c542089749a0875d3d1913151fe838d7722ff2
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list