diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 23:45:48 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 23:45:48 +0000 |
commit | b41049dc143a6b70e715c35dc2da94ae68b41447 (patch) | |
tree | e0d823c7754c05cb1aff5940909ec42869ec8000 | |
parent | a7ba3bdce520d1bc6bdab84076a807868fe83b0b (diff) | |
download | fetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.tar.gz fetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.tar.bz2 fetchmail-b41049dc143a6b70e715c35dc2da94ae68b41447.zip |
Fix memset() argument order.
svn path=/trunk/; revision=4085
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |