mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Fixed warnings
Moved to 2.7
This commit is contained in:
parent
d8871c2a60
commit
b73f146d9b
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# NOTE: update version in CMakeLists.txt after changing these
|
# NOTE: update version in CMakeLists.txt after changing these
|
||||||
N2N_MAJOR="2"
|
N2N_MAJOR="2"
|
||||||
N2N_MINOR="5"
|
N2N_MINOR="7"
|
||||||
N2N_PATCH="1"
|
N2N_PATCH="0"
|
||||||
|
|
||||||
N2N_VERSION_SHORT="$N2N_MAJOR.$N2N_MINOR.$N2N_PATCH"
|
N2N_VERSION_SHORT="$N2N_MAJOR.$N2N_MINOR.$N2N_PATCH"
|
||||||
|
|
||||||
|
|
2
edge.c
2
edge.c
|
@ -598,6 +598,7 @@ static void daemonize() {
|
||||||
|
|
||||||
static int keep_on_running;
|
static int keep_on_running;
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
BOOL WINAPI term_handler(DWORD sig)
|
BOOL WINAPI term_handler(DWORD sig)
|
||||||
#else
|
#else
|
||||||
|
@ -619,6 +620,7 @@ static void term_handler(int sig)
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* *************************************************** */
|
/* *************************************************** */
|
||||||
|
|
||||||
|
|
4
sn.c
4
sn.c
|
@ -913,6 +913,7 @@ static int loadFromFile(const char *path, n2n_sn_t *sss) {
|
||||||
|
|
||||||
/* *************************************************** */
|
/* *************************************************** */
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
static void dump_registrations(int signo) {
|
static void dump_registrations(int signo) {
|
||||||
struct sn_community *comm, *ctmp;
|
struct sn_community *comm, *ctmp;
|
||||||
struct peer_info *list, *tmp;
|
struct peer_info *list, *tmp;
|
||||||
|
@ -941,11 +942,13 @@ static void dump_registrations(int signo) {
|
||||||
|
|
||||||
traceEvent(TRACE_NORMAL, "====================================");
|
traceEvent(TRACE_NORMAL, "====================================");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* *************************************************** */
|
/* *************************************************** */
|
||||||
|
|
||||||
static int keep_running;
|
static int keep_running;
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
BOOL WINAPI term_handler(DWORD sig)
|
BOOL WINAPI term_handler(DWORD sig)
|
||||||
#else
|
#else
|
||||||
|
@ -967,6 +970,7 @@ static void term_handler(int sig)
|
||||||
return(TRUE);
|
return(TRUE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* *************************************************** */
|
/* *************************************************** */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user