Commit 376c3f1d authored by rswindell's avatar rswindell
Browse files

Sets socket mode back to blocking (in case external program changed it).

parent 7b3c3695
......@@ -850,8 +850,11 @@ int sbbs_t::external(char* cmdline, long mode, char* startup_dir)
if(!(mode&EX_OFFLINE)) { /* !off-line execution */
if(native)
if(native) {
ulong l=0;
ioctlsocket(client_socket, FIONBIO, &l);
pthread_mutex_unlock(&input_thread_mutex);
}
curatr=0; // Can't guarantee current attributes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment