Merge pull request #1276 from LuaAndC/improve-nonetwork-log

nonetwork: new line before the message and flush
This commit is contained in:
Tony Theodore 2016-04-03 18:34:51 +10:00
commit 8f7e98b481
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
#include <stdio.h>
static void print_message() {
fprintf(stderr, "Don't use network from MXE build rules!\n");
fflush(stderr);
fprintf(stderr, "\nDon't use network from MXE build rules!\n");
fflush(stderr);
}
int connect(int sock, const void *addr, unsigned int len) {