diff options
author | nicowallmeier <> | 2004-04-17 13:05:58 +0000 |
---|---|---|
committer | nicowallmeier <> | 2004-04-17 13:05:58 +0000 |
commit | f24530ff73c7997560551c22920c3f4b3ef83ce4 (patch) | |
tree | d3d1533d532a03cdcf4f86737ae7dcf594856c48 /plugin_pop3.c | |
parent | 30be0d757c53542e62b80101278589c0b2a8d67b (diff) | |
download | lcd4linux-f24530ff73c7997560551c22920c3f4b3ef83ce4.tar.gz |
[lcd4linux @ 2004-04-17 13:03:34 by nicowallmeier]
minor bugfix
Diffstat (limited to 'plugin_pop3.c')
-rw-r--r-- | plugin_pop3.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin_pop3.c b/plugin_pop3.c index 9d7c35e..6768583 100644 --- a/plugin_pop3.c +++ b/plugin_pop3.c @@ -1,4 +1,4 @@ -/* $Id: plugin_pop3.c,v 1.1 2004/04/08 11:59:26 reinelt Exp $ +/* $Id: plugin_pop3.c,v 1.2 2004/04/17 13:03:34 nicowallmeier Exp $ * * Plugin to check POP3 mail accounts * @@ -27,6 +27,9 @@ * * * $Log: plugin_pop3.c,v $ + * Revision 1.2 2004/04/17 13:03:34 nicowallmeier + * minor bugfix + * * Revision 1.1 2004/04/08 11:59:26 reinelt * added plugin_pop3 from Javi * @@ -118,12 +121,13 @@ static int getConfig (void) for (i =1;i <= MAX_NUM_ACCOUNTS; i++) { + char *x; sprintf(user,"user%d",i); sprintf(password,"password%d",i); sprintf(server,"server%d",i); sprintf(port,"port%d",i); - char *x = cfg_get (Section, server, ""); + x = cfg_get (Section, server, ""); if (*x=='\0') { info ("[POP3] No '%s.%s' entry from %s, disabling POP3 account #%d", Section, server, cfg_source(),i); |