wmbiff: correct the address size passed to connect(2).
commit1d9d06f1524913a917be2d9a5425e0641f8b4a52
authorJeremy Sowden <jeremy@azazel.net>
Fri, 28 Jun 2019 15:11:17 +0000 (28 16:11 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 28 Jun 2019 15:26:47 +0000 (28 16:26 +0100)
tree7c75c42f078d80e4227f944a607da81e3c6ac705
parent3c0016eb792b1f3349d511c0d76d0e94ab099515
wmbiff: correct the address size passed to connect(2).

`addr` is a `struct sockaddr_in`, not a `struct sockaddr`; using `sizeof
var` instead of `sizeof (type)` ensures that the right size is used.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
wmbiff/wmbiff/socket.c