summaryrefslogtreecommitdiff
path: root/xc/lib/Xau/AuGetBest.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/Xau/AuGetBest.c')
-rw-r--r--xc/lib/Xau/AuGetBest.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/xc/lib/Xau/AuGetBest.c b/xc/lib/Xau/AuGetBest.c
index 514c47854..8ab89a47b 100644
--- a/xc/lib/Xau/AuGetBest.c
+++ b/xc/lib/Xau/AuGetBest.c
@@ -21,7 +21,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/lib/Xau/AuGetBest.c,v 1.2 1999/05/09 10:51:33 dawes Exp $ */
+/* $XFree86: xc/lib/Xau/AuGetBest.c,v 1.3 2000/06/14 00:16:06 dawes Exp $ */
#include <X11/Xauth.h>
#include <X11/Xos.h>
@@ -125,16 +125,14 @@ XauGetBestAuthByAddr (family, address_length, address,
/*
* Match when:
* either family or entry->family are FamilyWild or
- * family and entry->family are the same
- * and
- * either address or entry->address are empty or
- * address and entry->address are the same
+ * family and entry->family are the same and
+ * address and entry->address are the same
* and
* either number or entry->number are empty or
* number and entry->number are the same
* and
- * name matches one of the specified names, or no names
- * were specified
+ * either name or entry->name are empty or
+ * name and entry->name are the same
*/
if ((family == FamilyWild || entry->family == FamilyWild ||