chiark / gitweb /
test: udp-preload: Fix inet_ntop calling convention
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 20:29:37 +0000 (21:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000 (23:29 +0100)
commit539f5d7682b0afcf4f79c048666ade37da387272
treef1b848e1badc8e9722790333f3ecbb7c4b30fbd4
parentc4aafe05d919dedca66869b0cf78866db2da6956
test: udp-preload: Fix inet_ntop calling convention

inet_ntop has a weird error return protocol.  And our code for calling
it never worked properly because we didn't strip the leading directory
names from the bound socket name.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/udp-preload.c