add additional debugging

This commit is contained in:
Anthony Tong 2011-12-06 11:03:24 -05:00
parent 9104cef59c
commit ac55807e1a
1 changed files with 3 additions and 0 deletions

View File

@ -544,6 +544,7 @@ boolean disk_file_query_directory(DISK_FILE* file, uint32 FsInformationClass, ui
if (ent == NULL)
{
DEBUG_SVC(" pattern %s not found.\n", file->pattern);
stream_write_uint32(output, 0); /* Length */
stream_write_uint8(output, 0); /* Padding */
return false;
@ -558,6 +559,8 @@ boolean disk_file_query_directory(DISK_FILE* file, uint32 FsInformationClass, ui
}
xfree(ent_path);
DEBUG_SVC(" pattern %s matched %s\n", file->pattern, ent_path);
uniconv = freerdp_uniconv_new();
ent_path = freerdp_uniconv_out(uniconv, ent->d_name, &len);
freerdp_uniconv_free(uniconv);