Fixed accept return value / errno bug, also fdret_sock return bug

This commit is contained in:
Joseph Henry
2015-10-30 17:00:30 -07:00
parent 96eb0ce492
commit db473beb48
5 changed files with 137 additions and 104 deletions

View File

@@ -44,13 +44,13 @@ namespace ZeroTier
{
void dwr(char *fmt, ... )
{
//#ifdef ZT_DEBUG
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
fflush(stderr);
va_end(ap);
//#endif
}
void clearscreen()