commit a15cec4b73450902c3c58479ba13bbebf5dadac3
parent e489e324a15f52f575546efebd9af57ea0dae900
Author: sin <sin@2f30.org>
Date: Fri, 3 Oct 2014 17:04:48 +0100
Clarify semantics
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ratox.c b/ratox.c
@@ -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)
{