reorganizing

This commit is contained in:
joonicks
2018-04-04 06:04:58 +02:00
parent a5187a7a8f
commit c5b03f35e1
66 changed files with 1670 additions and 2742 deletions

View File

@@ -69,7 +69,7 @@ void init_uptime(void)
if (!uptimehost)
{
set_mallocdoer(init_uptime);
uptimehost = Strdup(defaultuptimehost);
uptimehost = stringdup(defaultuptimehost);
}
if ((uptimesock = socket(AF_INET,SOCK_DGRAM,0)) < 0)
@@ -116,7 +116,7 @@ void send_uptime(int type)
{
Free((char**)&uptimehost);
set_mallocdoer(send_uptime);
uptimehost = Strdup(host);
uptimehost = stringdup(host);
}
}
else
@@ -160,7 +160,7 @@ void send_uptime(int type)
upPack.sysup = htonl(st.st_ctime);
}
server = "unknown";
server = UNKNOWN;
nick = BOTLOGIN;
/*