Don't like ads? PRO users don't see any ads ;-)
Guest

wiiuse-0.2-12 Archlinux AUR Patch

By: a guest on Jun 20th, 2010  |  syntax: C  |  size: 0.59 KB  |  hits: 134  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. *** old/src/io_nix.c      2008-03-29 22:53:32.000000000 +0100
  2. --- new/src/io_nix.c      2010-06-17 15:59:13.000000000 +0200
  3. ***************
  4. *** 170,176 ****
  5.    */
  6.   static int wiiuse_connect_single(struct wiimote_t* wm, char* address) {
  7.         struct sockaddr_l2 addr;
  8. !
  9.         if (!wm || WIIMOTE_IS_CONNECTED(wm))
  10.                 return 0;
  11.  
  12. --- 170,176 ----
  13.    */
  14.   static int wiiuse_connect_single(struct wiimote_t* wm, char* address) {
  15.         struct sockaddr_l2 addr;
  16. !       memset(&addr, 0, sizeof (addr));
  17.         if (!wm || WIIMOTE_IS_CONNECTED(wm))
  18.                 return 0;