Subversion Repositories tpanel

Rev

Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 23
Line 1469... Line 1469...
1469
            s.value2 = df.size;                 // Size of file
1469
            s.value2 = df.size;                 // Size of file
1470
            s.value3 = df.date;                 // Last modification date (epoch)
1470
            s.value3 = df.date;                 // Last modification date (epoch)
1471
            s.msg.assign(amxpath + "/" + df.name);
1471
            s.msg.assign(amxpath + "/" + df.name);
1472
            sendCommand(s);
1472
            sendCommand(s);
1473
        }
1473
        }
-
 
1474
 
-
 
1475
        if (dr.getNumEntries() == 0)
-
 
1476
        {
-
 
1477
            s.type = 0x0102;
-
 
1478
 
-
 
1479
            s.value = 0;
-
 
1480
            s.level = 0;       // # entries
-
 
1481
            s.value1 = 0;                // counter
-
 
1482
            s.value2 = 0;                 // Size of file
-
 
1483
            s.value3 = 0;                 // Last modification date (epoch)
-
 
1484
            s.msg.assign(amxpath + "/");
-
 
1485
            sendCommand(s);
-
 
1486
        }
1474
    }
1487
    }
1475
    else if (ft.ftype == 4 && ft.function == 0x0100)    // Have more files to send.
1488
    else if (ft.ftype == 4 && ft.function == 0x0100)    // Have more files to send.
1476
    {
1489
    {
1477
        MSG_TRACE("0x0004/0x0100: Have more files to send.");
1490
        MSG_TRACE("0x0004/0x0100: Have more files to send.");
1478
        s.channel = 0;
1491
        s.channel = 0;