summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/mod_files.c')
-rw-r--r--ext/session/mod_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 0a8bc4e098..ef68da609b 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -121,7 +121,7 @@ static char *ps_files_path_create(char *buf, size_t buflen, ps_files *data, cons
n += key_len;
buf[n] = '\0';
- if (UG(unicode) && UG(filesystem_encoding_conv) &&
+ if (UG(filesystem_encoding_conv) &&
ucnv_getType(UG(filesystem_encoding_conv)) != UCNV_UTF8) {
char *newbuf = NULL;
int newlen;