Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Fix: NULL MimeType when sending files without extension #270

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/com/sheepit/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ protected void sendError(int step_, Job job_to_reset_, Error.Type error) {

this.log.debug("Sending error to server (type: " + error + ")");
try {
File temp_file = File.createTempFile("farm_", "");
File temp_file = File.createTempFile("farm_", ".txt");
temp_file.createNewFile();
temp_file.deleteOnExit();
FileOutputStream writer = new FileOutputStream(temp_file);
Expand Down