mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-21 10:09:13 +00:00
Win changes
This commit is contained in:
parent
3984a19226
commit
49c80c4615
10 changed files with 14 additions and 96 deletions
|
|
@ -945,11 +945,7 @@ static int handle_lua_request(struct mg_connection *conn) {
|
|||
|| (strcmp(request_info->uri, "/") == 0)) {
|
||||
/* Lua Script */
|
||||
char path[255] = { 0 }, uri[2048];
|
||||
#ifdef WIN32
|
||||
struct _stat64 buf;
|
||||
#else
|
||||
struct stat buf;
|
||||
#endif
|
||||
bool found;
|
||||
|
||||
if(strstr(request_info->uri, "/lua/pro")
|
||||
|
|
@ -1047,11 +1043,7 @@ static int handle_http_message(const struct mg_connection *conn, const char *mes
|
|||
/* ****************************************** */
|
||||
|
||||
bool HTTPserver::check_ssl_cert(char *ssl_cert_path, size_t ssl_cert_path_len) {
|
||||
#ifdef WIN32
|
||||
struct _stat64 s;
|
||||
#else
|
||||
struct stat s;
|
||||
#endif
|
||||
int stat_rc;
|
||||
ssl_cert_path[0] = '\0';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue