diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-04-21 06:26:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-04-21 06:26:58 +0000 |
commit | b7e34c7db296499b2a99c11b1d54cbd59fc9da45 (patch) | |
tree | 71342d05625fd49c9874884bb11a8cf31bd00469 /fetchmail.c | |
parent | 10cd51f08fb9fc81c6b325e36eb006c7b604d453 (diff) | |
download | fetchmail-b7e34c7db296499b2a99c11b1d54cbd59fc9da45.tar.gz fetchmail-b7e34c7db296499b2a99c11b1d54cbd59fc9da45.tar.bz2 fetchmail-b7e34c7db296499b2a99c11b1d54cbd59fc9da45.zip |
Minor bug fixes.
svn path=/trunk/; revision=2881
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c index 75f2bf14..d68bffca 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -158,7 +158,7 @@ int main(int argc, char **argv) } #define IDFILE_NAME ".fetchids" - run.idfile = (char *) xmalloc(strlen(fmhome)+sizeof(IDFILE_NAME)+1); + run.idfile = (char *) xmalloc(strlen(fmhome)+sizeof(IDFILE_NAME)+2); strcpy(run.idfile, fmhome); strcat(run.idfile, "/"); strcat(run.idfile, IDFILE_NAME); @@ -288,7 +288,7 @@ int main(int argc, char **argv) #define NETRC_FILE ".netrc" /* parse the ~/.netrc file (if present) for future password lookups. */ - xalloca(netrc_file, char *, strlen(home) + sizeof(NETRC_FILE) + 1); + xalloca(netrc_file, char *, strlen(home) + sizeof(NETRC_FILE) + 2); strcpy (netrc_file, home); strcat (netrc_file, "/"); strcat (netrc_file, NETRC_FILE); |