~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to os/xdmcp.c

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-01-23 16:09:29 UTC
  • mfrom: (1.1.46) (0.11.34 sid)
  • Revision ID: package-import@ubuntu.com-20120123160929-k4xdb9b7xeesiukp
Tags: 2:1.11.3-0ubuntu8
* debian/patches/224_return_BadWindow_not_BadMatch.diff:
  - Fix the error values of a whole slew of window-related calls.
    Fixes some gnome-settings-daemon aborts in XLib (LP: #903973)

Show diffs side-by-side

added added

removed removed

Lines of Context:
486
486
            }
487
487
        }
488
488
#endif
489
 
        if (fromAddr && memcmp(regAddr, fromAddr, regAddrlen) != 0) {
 
489
        if (!fromAddr || memcmp(regAddr, fromAddr, regAddrlen) != 0) {
490
490
            return;
491
491
        }
492
492
    }