[NeoStats-Devel] [Commits] r9 - Trunk
[email protected] Tue, 9 Aug 2005 22:22:20 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Fish
Date: Tue Aug 9 20:22:14 2005
New Revision: 9
Modified:
Trunk/profileserv.c
Trunk/profileserv.h
Log:
fix addtimer calls
Modified: Trunk/profileserv.c
==============================================================================
--- Trunk/profileserv.c (original)
+++ Trunk/profileserv.c Tue Aug 9 20:22:14 2005
@@ -130,7 +130,7 @@
int ModInit( void )
{
ModuleConfig (pfs_settings);
- AddTimer (TIMER_TYPE_DAILY, pfs_expire_profiles, "pfs_expire_profiles", 0);
+ AddTimer (TIMER_TYPE_DAILY, pfs_expire_profiles, "pfs_expire_profiles", 0, NULL);
return NS_SUCCESS;
}
@@ -714,7 +714,7 @@
/*
* Expire Old Profiles Timer
*/
-int pfs_expire_profiles(void)
+int pfs_expire_profiles(void *userptr)
{
SET_SEGV_LOCATION();
if( ProfileServ.expiredays > 0 )
Modified: Trunk/profileserv.h
==============================================================================
--- Trunk/profileserv.h (original)
+++ Trunk/profileserv.h Tue Aug 9 20:22:14 2005
@@ -79,6 +79,6 @@
int pfs_cmd_general (CmdParams *cmdparams);
int pfs_cmd_del (CmdParams *cmdparams);
void pfs_delete_profile ( CmdParams *cmdparams, ProfileUser *pu );
-int pfs_expire_profiles(void);
+int pfs_expire_profiles(void*);
int expireoldprofiles(void *data, int size);
int pfs_UmodeUser (CmdParams *cmdparams);