diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-24 18:15:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-24 18:15:59 +0000 |
commit | 217870913627ecd48dfa5ff7aebbb8e9c421ba46 (patch) | |
tree | 24451e1c5795e4531a9c9edd34c9617c4f84ab74 /options.c | |
parent | 316a8e45348c993fbb4c2c00f3d3c4812b4c6620 (diff) | |
download | fetchmail-217870913627ecd48dfa5ff7aebbb8e9c421ba46.tar.gz fetchmail-217870913627ecd48dfa5ff7aebbb8e9c421ba46.tar.bz2 fetchmail-217870913627ecd48dfa5ff7aebbb8e9c421ba46.zip |
*** empty log message ***
svn path=/trunk/; revision=120
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -17,7 +17,6 @@ #include <pwd.h> #include "getopt.h" #include "fetchmail.h" -#include "bzero.h" #define LA_VERSION 1 #define LA_ALL 2 @@ -108,7 +107,7 @@ struct hostrec *queryctl; extern int optind, opterr; /* defined in getopt(2) */ extern char *optarg; /* defined in getopt(2) */ - bzero(queryctl,sizeof(struct hostrec)); /* start clean */ + memset(queryctl, '\0', sizeof(struct hostrec)); /* start clean */ while (!errflag && (c = getopt_long(argc,argv,shortoptions, @@ -315,7 +314,7 @@ struct hostrec *queryctl; { char *user, *home; - bzero(queryctl,sizeof(*queryctl)); + memset(queryctl, '\0', sizeof(*queryctl)); if ((user = getenv("USER")) == (char *)NULL || (home = getenv("HOME")) == (char *)NULL) |