pull/105/head
ApexLiu 2017-10-19 18:59:08 +08:00
parent 7e7c63253a
commit 5155d4ff5d
3 changed files with 162 additions and 159 deletions

View File

@ -64,12 +64,15 @@
# include <stdlib.h> // free() # include <stdlib.h> // free()
# include <stdarg.h> // va_start() # include <stdarg.h> // va_start()
# include <unistd.h> // readlink() # include <unistd.h> // readlink()
# include <fcntl.h> // O_RDONLY, etc.
# include <errno.h>
# include <wchar.h> # include <wchar.h>
# include <sys/stat.h> # include <sys/stat.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/socket.h> # include <sys/socket.h>
# include <netinet/in.h> # include <netinet/in.h>
#endif #endif
#ifdef EX_OS_MACOS #ifdef EX_OS_MACOS
# include <mach-o/dyld.h> // for _NSGetExecutablePath # include <mach-o/dyld.h> // for _NSGetExecutablePath
# ifndef _T # ifndef _T

View File

@ -200,7 +200,7 @@ FILE* ex_fopen(const ex_astr& filename, const char* mode) {
else else
return NULL; return NULL;
#else #else
f = fopen(filename.c_str(), mode.c_str()); f = fopen(filename.c_str(), mode);
return f; return f;
#endif #endif
} }

View File

@ -69,7 +69,7 @@ bool SshProxy::init(void)
} }
void SshProxy::timer(void) { void SshProxy::timer(void) {
EXLOGV("[ssh] on-timer.\n"); // EXLOGV("[ssh] on-timer.\n");
} }
void SshProxy::_thread_loop(void) void SshProxy::_thread_loop(void)