summaryrefslogtreecommitdiff
path: root/plugins/imfile/imfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r--plugins/imfile/imfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index 9fde058..96487ba 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -404,8 +404,8 @@ checkInstance(instanceConf_t *inst)
}
memcpy(dirn, inst->pszFileName, i); /* do not copy slash */
dirn[i] = '\0';
- CHKmalloc(inst->pszFileBaseName = ustrdup(basen));
- CHKmalloc(inst->pszDirName = ustrdup(dirn));
+ CHKmalloc(inst->pszFileBaseName = (uchar*) strdup(basen));
+ CHKmalloc(inst->pszDirName = (uchar*) strdup(dirn));
if(dirn[0] == '\0') {
dirn[0] = '/';