fix smbclient directory listing parser

This commit is contained in:
Vsevolod Kukol 2013-12-11 17:21:34 +01:00
parent 28180485d9
commit a8f814fe2d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class smb {
$i = ($mode == 'servers') ? array ($name, "server") : array ($name, "workgroup", $master);
break;
case 'files':
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|S|R]+)$/", trim ($regs[1]), $regs2)
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|N|S|R]+)$/", trim ($regs[1]), $regs2)
? array (trim ($regs2[2]), trim ($regs2[1]))
: array ('', trim ($regs[1]));
list ($his, $im) = array (