tClarify semantics - ratox - FIFO based tox client
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a15cec4b73450902c3c58479ba13bbebf5dadac3
(DIR) parent e489e324a15f52f575546efebd9af57ea0dae900
(HTM) Author: sin <sin@2f30.org>
Date: Fri, 3 Oct 2014 17:04:48 +0100
Clarify semantics
Diffstat:
M ratox.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/ratox.c b/ratox.c
t@@ -1109,6 +1109,7 @@ toxconnect(void)
return 0;
}
+/* Caller has to ensure `idstr' is big enough */
static void
id2str(uint8_t *id, char *idstr)
{
t@@ -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)
{