diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-03-14 02:22:39 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-03-14 13:28:42 +0000 |
commit | cb22b3df5f0b7509a37e091360ecbb4d8a9f2873 (patch) | |
tree | dd12e81f5f61e6ec268bd03d2e6951a7abee9506 /toxcore/net_crypto.h | |
parent | 11ad5471b91dc1b36552ba4e5a3ea434c8a30f5f (diff) |
Fix up comments a bit to start being more uniform.
Tokstyle (check-cimple) will start enforcing comment formats at some
point. It will not support arbitrary stuff in comments, and will parse
them. The result can then be semantically analysed.
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r-- | toxcore/net_crypto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h index 736a3dc3..3885a1ba 100644 --- a/toxcore/net_crypto.h +++ b/toxcore/net_crypto.h | |||
@@ -16,9 +16,9 @@ | |||
16 | 16 | ||
17 | #include <pthread.h> | 17 | #include <pthread.h> |
18 | 18 | ||
19 | /*** Crypto payloads. ***/ | 19 | /** Crypto payloads. */ |
20 | 20 | ||
21 | /** Ranges. **/ | 21 | /** Ranges. */ |
22 | 22 | ||
23 | /* Packets in this range are reserved for net_crypto internal use. */ | 23 | /* Packets in this range are reserved for net_crypto internal use. */ |
24 | #define PACKET_ID_RANGE_RESERVED_START 0 | 24 | #define PACKET_ID_RANGE_RESERVED_START 0 |
@@ -41,7 +41,7 @@ | |||
41 | #define PACKET_ID_RANGE_LOSSY_CUSTOM_END 254 | 41 | #define PACKET_ID_RANGE_LOSSY_CUSTOM_END 254 |
42 | #define PACKET_ID_RANGE_LOSSY_END 254 | 42 | #define PACKET_ID_RANGE_LOSSY_END 254 |
43 | 43 | ||
44 | /** Messages. **/ | 44 | /** Messages. */ |
45 | 45 | ||
46 | #define PACKET_ID_PADDING 0 // Denotes padding | 46 | #define PACKET_ID_PADDING 0 // Denotes padding |
47 | #define PACKET_ID_REQUEST 1 // Used to request unreceived packets | 47 | #define PACKET_ID_REQUEST 1 // Used to request unreceived packets |