Code

apcups branch: Remove `write_nbytes' and replace it with `swrite'.
authorocto <octo>
Sat, 10 Jun 2006 13:20:35 +0000 (13:20 +0000)
committerocto <octo>
Sat, 10 Jun 2006 13:20:35 +0000 (13:20 +0000)
commit6e318b5f03c2cc8ec0c6262498f4b62e59c8b505
treeb8f6965c17f8ed6b307111aee7d8e15d6d5d8f31
parent10f1659cf9ff949d47ed3460835b1d34069eb59c
apcups branch: Remove `write_nbytes' and replace it with `swrite'.

`swrite' is defined in `common.c' and (re)used by other plugins.
Also, use `[u]int16_t' rather than `short', since the C standard doesn't
garuantee a specific size for this storage type.
Finally, the naming of the `packet_size' variable has been unified.
src/apcups.c