aboutsummaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index d3268f4d9..f554a9e83 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -818,6 +818,7 @@ GNUNET_STRINGS_get_short_name (const char *filename)
818{ 818{
819 const char *short_fn = filename; 819 const char *short_fn = filename;
820 const char *ss; 820 const char *ss;
821
821 while (NULL != (ss = strstr (short_fn, DIR_SEPARATOR_STR)) 822 while (NULL != (ss = strstr (short_fn, DIR_SEPARATOR_STR))
822 && (ss[1] != '\0')) 823 && (ss[1] != '\0'))
823 short_fn = 1 + ss; 824 short_fn = 1 + ss;