1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 00:03:13 +02:00

Misc. fixes

This commit is contained in:
codemastr
2003-01-11 19:33:42 +00:00
parent fe9dc6d3c4
commit fed61efcdb
6 changed files with 27 additions and 22 deletions
+4 -3
View File
@@ -199,7 +199,7 @@ int Scan_IsBeingChecked(struct IN_ADDR *ia)
IRCMutexLock(Scannings_lock);
for (sr = Scannings; sr; sr = sr->next)
{
if (!bcmp(&sr->in, ia, sizeof(Scan_AddrStruct)))
if (!bcmp(&sr->in, ia, sizeof(struct IN_ADDR)))
{
ret = 1;
break;
@@ -347,7 +347,7 @@ DLLFUNC int h_scan_connect(aClient *sptr)
* };
*
*/
DLLFUNC h_config_test(ConfigFile *cf, ConfigEntry *ce, int type, int *errs) {
DLLFUNC int h_config_test(ConfigFile *cf, ConfigEntry *ce, int type, int *errs) {
ConfigEntry *cep;
int errors = 0;
@@ -439,7 +439,7 @@ DLLFUNC h_config_test(ConfigFile *cf, ConfigEntry *ce, int type, int *errs) {
return 0;
}
DLLFUNC h_config_run(ConfigFile *cf, ConfigEntry *ce, int type) {
DLLFUNC int h_config_run(ConfigFile *cf, ConfigEntry *ce, int type) {
ConfigEntry *cep;
int errors = 0;
@@ -515,6 +515,7 @@ DLLFUNC int h_config_rehash()
{
if (scan_message)
MyFree(scan_message);
return 1;
}
DLLFUNC int h_stats_scan(aClient *sptr, char *stats) {