diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 19:01:59 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-20 19:01:59 +0000 |
commit | f865d7cfa62ef47cd271e73f93ade5d4076926c6 (patch) | |
tree | 69228caf374d66436dd5141af379b2868a7ab125 /chrome | |
parent | ac9eec64de86f3d3a290a1a8b9321260cff7ed23 (diff) | |
download | chromium_src-f865d7cfa62ef47cd271e73f93ade5d4076926c6.zip chromium_src-f865d7cfa62ef47cd271e73f93ade5d4076926c6.tar.gz chromium_src-f865d7cfa62ef47cd271e73f93ade5d4076926c6.tar.bz2 |
Fix the memset call from my previous CL.
TBR=wtc
BUG=35670
TEST=none
Review URL: http://codereview.chromium.org/652020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rwxr-xr-x | chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc b/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc index 1a5619c..14f4392 100755 --- a/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc +++ b/chrome/browser/sync/notifier/communicator/ssl_socket_adapter.cc @@ -264,7 +264,7 @@ int TransportSocket::GetPeerAddress(net::AddressList* address) const { socket_address.ToSockAddr(&ipv4addr); struct addrinfo ai; - memset(&ai, sizeof(ai), 0); + memset(&ai, 0, sizeof(ai)); ai.ai_family = ipv4addr.sin_family; ai.ai_socktype = SOCK_STREAM; ai.ai_protocol = IPPROTO_TCP; |