wmbiff: fixed endianness problems parsing server-ports.
commit897886a68ce9146ddf990e675a0dee76b294a6e7
authorJeremy Sowden <jeremy@azazel.net>
Fri, 28 Jun 2019 15:11:21 +0000 (28 16:11 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 28 Jun 2019 15:26:47 +0000 (28 16:26 +0100)
tree77b0169a0df1565fe2d9bc42bc8d622002efc112
parentd0345f10595fc0db032986789483ff39e23c98ec
wmbiff: fixed endianness problems parsing server-ports.

`regulo_atoi` expects a pointer-to-int and `PCU.serverPort` is a
`uint16_t`, so `&PCU.serverPort` is not compatible and we need to use an
`int` temporary variable to avoid endianness problems.

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