Skip to content

Commit

Permalink
fix order of socket/peer in async socket listen
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Jul 21, 2018
1 parent 25dec5d commit 7861a87
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -91,10 +91,10 @@ public void completed(AsynchronousSocketChannel channel, AsyncTaskInstance task)
result.push_boxed(curTC, task.schedulee);
result.push_boxed(curTC, ioHandle);
result.push_boxed(curTC, Null);
result.push_boxed(curTC, Ops.box_s(socketHost, Str, curTC));
result.push_boxed(curTC, Ops.box_i(socketPort, Int, curTC));
result.push_boxed(curTC, Ops.box_s(peerHost, Str, curTC));
result.push_boxed(curTC, Ops.box_i(peerPort, Int, curTC));
result.push_boxed(curTC, Ops.box_s(socketHost, Str, curTC));
result.push_boxed(curTC, Ops.box_i(socketPort, Int, curTC));

((ConcBlockingQueueInstance) task.queue).push_boxed(curTC, result);
}
Expand Down

0 comments on commit 7861a87

Please sign in to comment.