This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, neels/sock_err_msg has been created
at 96a94347798540e8918fcaca84ce2aac53a9373e (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=96a94347798540e8918fcaca84ce…
commit 96a94347798540e8918fcaca84ce2aac53a9373e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Mon Aug 22 13:34:23 2016 +0200
osmo_sock_init(): include host and port in error messages
For programs like osmo-hnbgw with numerous sockets, the message that some
unspecified connection was refused is not very helpful. Also output the host
and port where an error occured.
Instead of perror, use fprintf(stderr, ..., strerror()) to be able to include a
format string and print host and port as passed to osmo_sock_init().
Change-Id: I8d0343f51310699b78fcb83fd76fd93764acf3dc
-----------------------------------------------------------------------
hooks/post-receive
--
An utility library for Open Source Mobile Communications