Skip to content

Commit

Permalink
fix: more centOS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CooperW824 committed Aug 13, 2021
1 parent 94e6151 commit 3385239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hobbits-plugins/importerexporters/UsbDevice/usbdevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ QSharedPointer<ImportResult> USBDevice::importBits(const Parameters &parameters,
attach = false;
}
//throw an error if an error occured
return ImportResult::error("Transfer Error, Code: " + QString::number(transferReturn) + " " + libusb_error_name(transferReturn) + ": " + libusb_strerror(transferReturn));
return ImportResult::error("Transfer Error, Code: " + QString::number(transferReturn) + " " + libusb_error_name(transferReturn));
}else{
if(includeTimeout){ //check if the user wants to include timeout
largeBuffer.append("TIMEOUT");
Expand Down Expand Up @@ -369,7 +369,7 @@ QSharedPointer<ImportResult> USBDevice::importBits(const Parameters &parameters,
libusb_reset_device(m_handle);
attach = false;
}
return ImportResult::error("Transfer Error, Code: " + QString::number(transferReturn) + " " + libusb_error_name(transferReturn) + ": " + libusb_strerror(transferReturn));
return ImportResult::error("Transfer Error, Code: " + QString::number(transferReturn) + " " + libusb_error_name(transferReturn));
}else{
if(includeTimeout){
largeBuffer.append("TIMEOUT");
Expand Down

0 comments on commit 3385239

Please sign in to comment.