libosmocore.git branch neels/sock_err_msg created. 0.9.0-219-g96a9434

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/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Mon Aug 22 23:29:50 UTC 2016


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=96a94347798540e8918fcaca84ce2aac53a9373e

commit 96a94347798540e8918fcaca84ce2aac53a9373e
Author: Neels Hofmeyr <nhofmeyr at 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



More information about the osmocom-commitlog mailing list