diff options
Diffstat (limited to 'src/util/test_strings_to_data.c')
-rw-r--r-- | src/util/test_strings_to_data.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/test_strings_to_data.c b/src/util/test_strings_to_data.c index 739773558..2ac680b83 100644 --- a/src/util/test_strings_to_data.c +++ b/src/util/test_strings_to_data.c | |||
@@ -44,6 +44,7 @@ main (int argc, char *argv[]) | |||
44 | memset (dst, i+1, sizeof (dst)); | 44 | memset (dst, i+1, sizeof (dst)); |
45 | 45 | ||
46 | end = GNUNET_STRINGS_data_to_string (&src, i, buf, sizeof (buf)); | 46 | end = GNUNET_STRINGS_data_to_string (&src, i, buf, sizeof (buf)); |
47 | GNUNET_assert (NULL != end); | ||
47 | end[0] = '\0'; | 48 | end[0] = '\0'; |
48 | if (GNUNET_OK != | 49 | if (GNUNET_OK != |
49 | GNUNET_STRINGS_string_to_data (buf, strlen (buf), dst, i)) | 50 | GNUNET_STRINGS_string_to_data (buf, strlen (buf), dst, i)) |