diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c index 8740eab58..e8d411ea5 100644 --- a/src/util/strings.c +++ b/src/util/strings.c | |||
@@ -1186,7 +1186,7 @@ GNUNET_STRINGS_check_filename (const char *filename, | |||
1186 | & (GNUNET_STRINGS_CHECK_EXISTS | GNUNET_STRINGS_CHECK_IS_DIRECTORY | 1186 | & (GNUNET_STRINGS_CHECK_EXISTS | GNUNET_STRINGS_CHECK_IS_DIRECTORY |
1187 | | GNUNET_STRINGS_CHECK_IS_LINK))) | 1187 | | GNUNET_STRINGS_CHECK_IS_LINK))) |
1188 | { | 1188 | { |
1189 | if (0 != stat (filename, &st)) | 1189 | if (0 != lstat (filename, &st)) |
1190 | { | 1190 | { |
1191 | if (0 != (checks & GNUNET_STRINGS_CHECK_EXISTS)) | 1191 | if (0 != (checks & GNUNET_STRINGS_CHECK_EXISTS)) |
1192 | return GNUNET_NO; | 1192 | return GNUNET_NO; |