From: <kai...@us...> - 2003-11-18 11:51:15
|
Update of /cvsroot/ipac-ng/ipac-ng In directory sc8-pr-cvs1:/tmp/cvs-serv23280 Modified Files: fetchipac.c Log Message: still removing nonclassic mode Index: fetchipac.c =================================================================== RCS file: /cvsroot/ipac-ng/ipac-ng/fetchipac.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- fetchipac.c 17 Nov 2003 15:27:08 -0000 1.14 +++ fetchipac.c 18 Nov 2003 11:51:11 -0000 1.15 @@ -198,25 +198,6 @@ } int -setup_status() -{ - FILE *sf; - user_list *ul; - - if(!(sf=fopen(STATUSFILE, "w"))) { - printf("Can't open status file %s\n", STATUSFILE); - return 1; - } - if (access_agent->get_user_list(&ul)) return 1; - while(ul) { - fprintf(sf, "%s|deny\n", ul->login); - ul=ul->next; - } - fclose(sf); - return 0; -} - -int setup_agents(void) { return setup_access(1); @@ -383,18 +364,6 @@ free(tlist); return n>-1 ? 0 : 1; } - -/* signal handler for SIGALRM: close the database backend to avoid - * locking it too long. - * commented out, because it introduces more problems that it solves (Manfred Weihs) - */ -/*static void alarm_closedb(int signo) -{ - db_closed_by_timer = 1; - alarm(0); - storage_method->close(); -} -*/ /* print a record on file descriptor f */ int |