Code

src/liboping.c: Document ping_open_socket().
authorFlorian Forster <ff@octo.it>
Fri, 5 May 2017 07:17:20 +0000 (09:17 +0200)
committerFlorian Forster <ff@octo.it>
Fri, 5 May 2017 08:47:21 +0000 (10:47 +0200)
commit450f754967e543d3b19a9bc7ae796e26b5565ecc
treee6cb7c4b3c77d18aad7ac362bbdd443c3316bdcf
parent1fa5bd2529ecbbb725002d8e409216ef7d2f0776
src/liboping.c: Document ping_open_socket().

Also make sure that obj->errmsg is set on all error paths and evaluate
errno as soon as possible so that calls to close() and such don't reset it.
src/liboping.c