commit | c19456f64a8f3369ae6b32581553753c80e2881d | [log] [tgz] |
---|---|---|
author | Darin Willits <darin@willits.ca> | Mon Feb 14 17:52:39 2011 +0000 |
committer | Andy Green <andy@warmcat.com> | Mon Feb 14 17:52:39 2011 +0000 |
tree | 0d350846c4da86d0178bc59e62ece36113752eb1 | |
parent | 62c54d2f563b346689fb0a1c1051a9bf075b38e0 [diff] [blame] |
Apple / iOS build compatability patch This allows build on iOS platform, thanks Darin! Signed-off-by: Darin Willits <darin@willits.ca>
diff --git a/lib/client-handshake.c b/lib/client-handshake.c index df91923..8c821ef 100644 --- a/lib/client-handshake.c +++ b/lib/client-handshake.c
@@ -79,6 +79,8 @@ return NULL; } + memset(wsi, 0, sizeof *wsi); + /* -1 means just use latest supported */ if (ietf_version_or_minus_one == -1)