Skip to content
Snippets Groups Projects
Commit 76a1eb0f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

More type fixes.

parent 403fce39
No related branches found
No related tags found
1 merge request!488Overhaul LZH code
Pipeline #7551 passed
......@@ -50,7 +50,7 @@ rlogin_output_thread(void *args)
{
size_t sent;
size_t wr;
int ret;
ssize_t ret;
SetThreadName("RLogin Output");
conn_api.output_thread_running = 1;
......@@ -74,7 +74,7 @@ rlogin_output_thread(void *args)
else {
pthread_mutex_unlock(&(conn_outbuf.mutex));
}
if (ret == -1)
if (ret < 0)
break;
}
conn_api.output_thread_running = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment