Add @todo comment

This commit is contained in:
jvazquez-r7 2015-03-02 14:25:56 -06:00
parent d57e220f00
commit b0bc69b832
1 changed files with 2 additions and 1 deletions

View File

@ -48,8 +48,9 @@ module Msf
# @param c [Socket] The client sending the request.
# @param path [String] The path which the client is requesting info from.
# @return [Fixnum] The number of bytes returned to the client as response.
# @todo Delete elsif comment if testing proofs it as unnecessary
def smb_cmd_trans_query_path_info_basic(c, path)
if path && path.ends_with?(file_name) #TODO: do it better
if path && path.ends_with?(file_name)
attrib = CONST::SMB_EXT_FILE_ATTR_NORMAL
#elsif path && path.ends_with?(file_name + '.Local')
#attrib = CONST::SMB_EXT_FILE_ATTR_NORMAL