summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-03 17:04:48 +0100
committersin <sin@2f30.org>2014-10-03 17:04:48 +0100
commita15cec4b73450902c3c58479ba13bbebf5dadac3 (patch)
treed5cd689f30852555f5e481a3df89731eaecfe17a /ratox.c
parente489e324a15f52f575546efebd9af57ea0dae900 (diff)
Clarify semantics
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ratox.c b/ratox.c
index 8e59756..d7de35e 100644
--- 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)
{