aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-03 23:45:48 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-03 23:45:48 +0000
commitb41049dc143a6b70e715c35dc2da94ae68b41447 (patch)
treee0d823c7754c05cb1aff5940909ec42869ec8000 /driver.c
parenta7ba3bdce520d1bc6bdab84076a807868fe83b0b (diff)
downloadfetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.tar.gz
fetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.tar.bz2
fetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.zip
Fix memset() argument order.
svn path=/trunk/; revision=4085
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 0bdd0371..7cfb2cbf 100644
--- a/driver.c
+++ b/driver.c
@@ -1012,7 +1012,7 @@ static int do_session(
struct addrinfo hints, *res;
int error;
- memset(&hints, sizeof(hints), 0);
+ memset(&hints, 0, sizeof(hints));
hints.ai_socktype = SOCK_STREAM;
hints.ai_family = AF_UNSPEC;
hints.ai_flags = AI_CANONNAME;