aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worker/src/connection.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/worker/src/connection.rs b/worker/src/connection.rs
index 1222c92..164ff16 100644
--- a/worker/src/connection.rs
+++ b/worker/src/connection.rs
@@ -101,8 +101,9 @@ impl Connection {
Reply::NewCore => {}
- Reply::Job(jobid, output) => {
- payload.push(jobid.to_le_bytes().to_vec());
+ Reply::Job(retcode, output) => {
+ payload.push(retcode.to_le_bytes().to_vec());
+ payload.push(output.len().to_le_bytes().to_vec());
payload.push(output);
}
}