diff options
author | Simon Rettberg | 2016-03-22 15:58:13 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-03-22 15:58:13 +0100 |
commit | 549a53070ae03b47e11943727afe4f8927cb6c42 (patch) | |
tree | 58aa2d01553a862964040f1e160b9366c1f2a8fc /src/types.h | |
parent | [SERVER] (FreeBSD) Unlock send mutex on sendfile error (diff) | |
download | dnbd3-549a53070ae03b47e11943727afe4f8927cb6c42.tar.gz dnbd3-549a53070ae03b47e11943727afe4f8927cb6c42.tar.xz dnbd3-549a53070ae03b47e11943727afe4f8927cb6c42.zip |
[SERVER] Fix formatting
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.h b/src/types.h index 7893da4..19c84cf 100644 --- a/src/types.h +++ b/src/types.h @@ -95,8 +95,8 @@ static const uint16_t dnbd3_packet_magic = (0x73) | (0x72 << 8); #pragma pack(1) typedef struct { - uint8_t addr[16]; // 16byte (network representation, so it can be directly passed to socket functions) - uint16_t port; // 2byte (network representation, so it can be directly passed to socket functions) + uint8_t addr[16]; // 16byte (network representation, so it can be directly passed to socket functions) + uint16_t port; // 2byte (network representation, so it can be directly passed to socket functions) uint8_t type; // 1byte (ip version. AF_INET or AF_INET6. 0 means this struct is empty and should be ignored) } dnbd3_host_t; #pragma pack(0) |