Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 978e6fdc authored by rswindell's avatar rswindell

Add fflush(stdout) to lputs to force output on buffered stdout.

parent 52affeac
......@@ -68,6 +68,7 @@ static void lputs(char *str)
pthread_mutex_lock(&mutex);
printf("\r%*s\r%s\n",strlen(prompt),"",str);
printf(prompt);
fflush(stdout);
pthread_mutex_unlock(&mutex);
}
......
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