--- sbbs/src/sbbs3/delfiles.c 2018/04/24 16:41:23 1.1 +++ sbbs/src/sbbs3/delfiles.c 2018/04/24 16:42:59 1.1.1.2 @@ -2,13 +2,13 @@ /* Program to delete expired files from a Synchronet file database */ -/* $Id: delfiles.c,v 1.1 2018/04/24 16:41:23 root Exp $ */ +/* $Id: delfiles.c,v 1.1.1.2 2018/04/24 16:42:59 root Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -73,7 +73,7 @@ long lputs(char *str) /* Performs printf() through local assembly routines */ /* Called from everywhere */ /****************************************************************************/ -int lprintf(char *fmat, ...) +int lprintf(const char *fmat, ...) { va_list argptr; char sbuf[256]; @@ -133,9 +133,6 @@ int main(int argc, char **argv) load_cfg(&cfg, NULL, TRUE, str); chdir(cfg.ctrl_dir); - if(!(cfg.sys_misc&SM_LOCAL_TZ)) - putenv("TZ=UTC0"); - dirnum=libnum=-1; if(argv[1][0]=='*') misc|=ALL;