Commit Graph

4 Commits

Author SHA1 Message Date
Sam Hocevar
ebd31cc72e Improve code readability by using enum typedefs. 2019-07-05 10:35:39 +02:00
Sam Hocevar
da497404ab Use uint64_t for data usage statistics.
It’s not uncommon nowadays that a single connection uses more than 2GiB
of data. This bug was only affecting logging and did not affect proper
behaviour of the program.
2019-07-05 10:28:46 +02:00
Sam Hocevar
d9f661ee5d Use uint16_t for port numbers.
This cleans up the mix of int and unsigned short for these variables.
2019-07-05 10:14:15 +02:00
Sam Hocevar
9d140d8f87 Move C source files to an src/ subdirectory.
It was a bit crowded in here. This makes the source tree a bit nicer.
2017-09-11 19:25:26 +02:00