Another IS_SLASH fix.

This commit is contained in:
Wez Furlong 2003-02-13 17:36:35 +00:00
parent 7fffe4338a
commit cddcaf737f

View File

@ -122,7 +122,7 @@ static FILE *php_do_open_temporary_file(const char *path, const char *pfx, char
return NULL;
}
if (path[strlen(path)-1] == '/') {
if (IS_SLASH(path[strlen(path)-1])) {
trailing_slash = "";
} else {
trailing_slash = "/";