/*XXX could we just de-taint on belowhome? */
if ( (allow_creation_here = check_creation(path, ob->create_file))
- && *ob->create_file_string == '/')
+ && ob->create_file == create_belowhome)
if (is_tainted(path))
{
DEBUG(D_transport) debug_printf("de-tainting path '%s'\n", path);
it, de-taint. Otherwise check for taint. */
if (is_tainted(path))
- if (*ob->create_file_string = '/')
+ if (ob->create_file == create_belowhome)
{
DEBUG(D_transport) debug_printf("de-tainting path '%s'\n", path);
path = string_copy_taint(path, FALSE);