{
char *p, *target;
size_t len;
- CURLcode res;
+ SANITIZEcode sc;
size_t max_sanitized_len;
if(!sanitized)
}
#ifdef MSDOS
- res = msdosify(&p, target, flags);
+ sc = msdosify(&p, target, flags);
free(target);
- if(res)
- return res;
+ if(sc)
+ return sc;
target = p;
len = strlen(target);
#endif
if(!(flags & SANITIZE_ALLOW_RESERVED)) {
- res = rename_if_reserved_dos_device_name(&p, target, flags);
+ sc = rename_if_reserved_dos_device_name(&p, target, flags);
free(target);
- if(res)
- return res;
+ if(sc)
+ return sc;
target = p;
len = strlen(target);