From 9dc6ff97fe8e9c911dfee409114fc5428adf858a Mon Sep 17 00:00:00 2001 From: reinelt Date: Fri, 9 Jan 2004 04:16:06 +0000 Subject: [lcd4linux @ 2004-01-09 04:16:06 by reinelt] added 'section' argument to cfg_get(), but NULLed it on all calls by now. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@298 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- seti.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'seti.c') diff --git a/seti.c b/seti.c index c387a52..a155e56 100644 --- a/seti.c +++ b/seti.c @@ -1,4 +1,4 @@ -/* $Id: seti.c,v 1.11 2004/01/06 22:33:14 reinelt Exp $ +/* $Id: seti.c,v 1.12 2004/01/09 04:16:06 reinelt Exp $ * * seti@home specific functions * @@ -22,6 +22,9 @@ * * * $Log: seti.c,v $ + * Revision 1.12 2004/01/09 04:16:06 reinelt + * added 'section' argument to cfg_get(), but NULLed it on all calls by now. + * * Revision 1.11 2004/01/06 22:33:14 reinelt * Copyright statements cleaned up * @@ -111,7 +114,7 @@ int Seti (double *perc, double *cput) time(&now); if (fd==-2) { - char *dir=cfg_get("SetiDir",NULL); + char *dir=cfg_get(NULL, "SetiDir", NULL); if (dir==NULL || *dir=='\0') { error ("no 'SetiDir' entry in %s!\n", cfg_source()); fd=-1; -- cgit v1.2.3