Mercurial > DynamicMail
changeset 6:5d70edfed5a2
Fixed a getline() issue in the minimal plugin and removed dmail.ini from the repository.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Fri, 18 Feb 2011 08:27:14 -0600 |
parents | 1e466b9cb28c |
children | b6b7e6a17b95 75a219a8299e |
files | dmail.ini minimal/minimal.c |
diffstat | 2 files changed, 2 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/dmail.ini Fri Feb 18 07:53:48 2011 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -PLUGIN=mysqlplg -X=128 -Y=96 -WIDTH=768 -HEIGHT=576 -HSPLIT=15 -VSPLIT=30
--- a/minimal/minimal.c Fri Feb 18 07:53:48 2011 -0600 +++ b/minimal/minimal.c Fri Feb 18 08:27:14 2011 -0600 @@ -245,7 +245,7 @@ } /* Generic function to parse information from a config file */ -void getline(FILE *f, char *entry, char *entrydata) +void minimal_getline(FILE *f, char *entry, char *entrydata) { char in[256]; int z; @@ -293,7 +293,7 @@ { while(!feof(fp)) { - getline(fp, entry, entrydata); + minimal_getline(fp, entry, entrydata); if(strcasecmp(entry, "recvhosttype")==0) set->RecvHostType = atoi(entrydata); if(strcasecmp(entry, "recvhostname")==0)