{
fstring modestr;
+ if (DEBUGLEVEL < DBGLVL_INFO) {
+ return;
+ }
+
modestr[0] = '\0';
if (mode & FILE_ATTRIBUTE_HIDDEN) {
fstrcat(modestr, "[compressed]");
}
- DBG_INFO("%s returning %s\n", func, modestr);
+ DBG_INFO("%s returning (0x%x): \"%s\"\n", func, (unsigned)mode,
+ modestr);
}
static uint32_t filter_mode_by_protocol(uint32_t mode)