If fileSize == 0 only one success reply sent
This commit is contained in:
parent
1c6a7a094d
commit
d5f6651620
1 changed files with 3 additions and 0 deletions
|
@ -219,6 +219,9 @@ class NxdtUsbAbi1 {
|
||||||
|
|
||||||
writeUsb(USBSTATUS_SUCCESS);
|
writeUsb(USBSTATUS_SUCCESS);
|
||||||
|
|
||||||
|
if (fileSize == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
if (isWindows10)
|
if (isWindows10)
|
||||||
dumpFileOnWindowsTen(fileToDump, fileSize);
|
dumpFileOnWindowsTen(fileToDump, fileSize);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue