diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2012-08-14 22:38:55 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2012-08-14 22:38:55 +0200 |
commit | b0cd8b7a095f7b3968f55cbf9efe2075c7ee9677 (patch) | |
tree | 9573579096db73535355d74dd06c608ab30d8160 | |
parent | c189f6a54f36f5b6f7734303db3cfc52311aab5f (diff) | |
download | fetchmail-b0cd8b7a095f7b3968f55cbf9efe2075c7ee9677.tar.gz fetchmail-b0cd8b7a095f7b3968f55cbf9efe2075c7ee9677.tar.bz2 fetchmail-b0cd8b7a095f7b3968f55cbf9efe2075c7ee9677.zip |
Fix length argument to memset().
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 7bdd2de6..b63e1121 100644 --- a/interface.c +++ b/interface.c @@ -384,7 +384,7 @@ get_ifinfo(const char *ifname, ifinfo_t *ifinfo) char iname[16]; int mib[6]; - memset(ifinfo, 0, sizeof(ifinfo)); + memset(ifinfo, 0, sizeof(*ifinfo)); /* trim interface name */ |