diff options
author | sin <sin@2f30.org> | 2014-10-03 17:04:48 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-03 17:04:48 +0100 |
commit | a15cec4b73450902c3c58479ba13bbebf5dadac3 (patch) | |
tree | d5cd689f30852555f5e481a3df89731eaecfe17a | |
parent | e489e324a15f52f575546efebd9af57ea0dae900 (diff) |
Clarify semantics
-rw-r--r-- | ratox.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1109,6 +1109,7 @@ toxconnect(void) return 0; } +/* Caller has to ensure `idstr' is big enough */ static void id2str(uint8_t *id, char *idstr) { @@ -1122,6 +1123,7 @@ id2str(uint8_t *id, char *idstr) *idstr = '\0'; } +/* Caller has to ensure that `id' is big enough */ static void str2id(char *idstr, uint8_t *id) { |