diff options
author | dteirney <dteirney@svn> | 2010-05-17 10:22:40 +0000 |
---|---|---|
committer | dteirney <dteirney@svn> | 2010-05-17 10:22:40 +0000 |
commit | 86a51d59a80b3fe2107343f1a1653944f1b634d1 (patch) | |
tree | cc9db4b38d91c0e83df7fc4ca450be6d85b3405a /tools/EventClients | |
parent | bd206afb1efbfe4ef702dfc1cc3607e34cefb83b (diff) |
Fixed ticket #9233 so WiiRemote connects successfully to WiiUse event client. Thanks the internet!
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30251 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/EventClients')
-rw-r--r-- | tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c index ec4e0e1780..0f2c5b8f55 100644 --- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c +++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c @@ -171,6 +171,7 @@ int wiiuse_connect(struct wiimote_t** wm, int wiimotes) { static int wiiuse_connect_single(struct wiimote_t* wm, char* address) { struct sockaddr_l2 addr; + memset(&addr, 0, sizeof (addr)); if (!wm || WIIMOTE_IS_CONNECTED(wm)) return 0; |