Luke Howard
0c0ac807c1
roken: socket test style fixes
...
Make error reporting in socket test programs consistent with other usages by
removing redundant newline, using strerror() and reporting error in
parentheses.
2020-08-31 16:02:09 +10:00
Andrew Bartlett
bf3c4219fe
Make rk_SOCK_INIT an inline function and check the result to avoid warnings
...
Similar to f6e0d19cc0
but
fixed in the header by making it a proper static inline
function (as some callers treats it as one, so do it
for all now for consistency).
Seen on Ubuntu 18.04 with
giving:
In file included from getaddrinfo-test.c:36:0:
getaddrinfo-test.c: In function ‘main’:
roken.h:110:24: error: statement with no effect [-Werror=unused-value]
#define rk_SOCK_INIT() 0
^
getaddrinfo-test.c:132:5: note: in expansion of macro ‘rk_SOCK_INIT’
rk_SOCK_INIT();
^~~~~~~~~~~~
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2020-05-28 11:10:57 -04:00
Rod Widdowson
f1b27d77cd
Windows: Make getaddrinfo-test work
...
Before we call gettaddrinfo we have to call rx_SOCK_INIT
In order to exercise the test we have to supply parameters to the command line
2019-03-25 16:38:56 -07:00
Love Hornquist Astrand
24eeb74c4a
make getnameinfo quiet by default
2010-02-20 14:01:53 -08:00
Love Hörnquist Åstrand
0d31d3d686
drop rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:37 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
89f35cfe72
drop )
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:50:40 +00:00
Love Hörnquist Åstrand
2d62579361
Rename optind to optidx to avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:42:17 +00:00
Love Hörnquist Åstrand
de1a25778c
remove stray ( in output
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:51:36 +00:00
Assar Westerlund
67422a6b02
s/[gs]et_progname/[gs]etprogname/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
5515fde49a
merge roken independence stuff
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 14:22:12 +00:00
Assar Westerlund
24fd0a06e9
copyright update
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7476 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 04:10:07 +00:00
Assar Westerlund
cdda6a73cb
driver program for testing getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7470 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-03 03:29:25 +00:00