some little fixes

git-svn-id: file:///home/jan/tmp/wetterstation/trunk@73 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
losinshi 2006-09-08 15:15:54 +00:00
parent 5df78b3c4e
commit a4f6cbd071
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#define DEFAULT_PG_PASS "" /* Postgres-Passwort */ #define DEFAULT_PG_PASS "" /* Postgres-Passwort */
#define DEFAULT_PG_DATABASE "localbase" /* Postgres-Datenbank */ #define DEFAULT_PG_DATABASE "localbase" /* Postgres-Datenbank */
#define DEFAULT_PG_TIMEOUT "20" /* Postgres-Timeout */ #define DEFAULT_PG_TIMEOUT "20" /* Postgres-Timeout */
#define DEFAULT_CONFIG_FILE "./weather.conf" /* Standart-Configdatei */ #define DEFAULT_CONFIG_FILE "./weatherd.conf" /* Standart-Configdatei */

View File

@ -148,6 +148,7 @@ int main(int argc, char *argv[]){
DEBUGOUT2(" User: = %s\n",global_opts.pg_user); DEBUGOUT2(" User: = %s\n",global_opts.pg_user);
DEBUGOUT2(" Pass: = %s\n",global_opts.pg_pass); DEBUGOUT2(" Pass: = %s\n",global_opts.pg_pass);
DEBUGOUT2(" Datenbank = %s\n",global_opts.pg_database); DEBUGOUT2(" Datenbank = %s\n",global_opts.pg_database);
DEBUGOUT2(" Timeout = %s\n",global_opts.pg_timeout);
/* Programm in den Hintergrund schicken ? */ /* Programm in den Hintergrund schicken ? */