[MERGED] 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:43:02 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

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


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(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I75c542089749a0875d3d1913151fe838d7722ff2
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list