X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fparse.c;h=3f0823a1e57808ea95a80aa64305231db0ae22b4;hb=560e71cc545182bb51a7d038ac40eebac8e045aa;hp=9b7069f9efb36c617f6ba9ec65809014186ec8b9;hpb=ad6f549910317aed78d06b5e5fa95d8db00b42e5;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/parse.c b/src/src/parse.c index 9b7069f9e..3f0823a1e 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -187,7 +187,7 @@ The start of the last potential comment position is remembered to make it possible to ignore comments at the end of compound items. Argument: current character pointer -Regurns: new character pointer +Returns: new character pointer */ static uschar * @@ -1444,7 +1444,7 @@ for (;;) with a flag that fails symlinks. */ { - int fd = open(directory, O_RDONLY); + int fd = open(CS directory, O_RDONLY); if (fd < 0) { *error = string_sprintf("failed to open directory %s", directory); @@ -1460,7 +1460,7 @@ for (;;) temp = *p; *p = '\0'; - fd2 = openat(fd, q, O_RDONLY|O_NOFOLLOW); + fd2 = openat(fd, CS q, O_RDONLY|O_NOFOLLOW); close(fd); *p = temp; if (fd2 < 0)