aboutsummaryrefslogtreecommitdiffstats
path: root/common/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/convert.c')
-rw-r--r--common/convert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/convert.c b/common/convert.c
index 1efaccedf..d9b4353b7 100644
--- a/common/convert.c
+++ b/common/convert.c
@@ -43,7 +43,8 @@
LENGTH bytes. The function checks that the STRING will convert
exactly to LENGTH bytes. The string is delimited by either end of
string or a white space character. The function returns -1 on
- error or the length of the parsed string. */
+ error or the length of the parsed string. In-place conversion is
+ allowed but the Source string might be garbled on error. */
int
hex2bin (const char *string, void *buffer, size_t length)
{