summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/os/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/os/auth.c')
-rw-r--r--xc/programs/Xserver/os/auth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xc/programs/Xserver/os/auth.c b/xc/programs/Xserver/os/auth.c
index 0d40e088e..888f34950 100644
--- a/xc/programs/Xserver/os/auth.c
+++ b/xc/programs/Xserver/os/auth.c
@@ -22,7 +22,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/programs/Xserver/os/auth.c,v 1.4 1998/12/06 06:08:47 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/os/auth.c,v 1.5 2000/08/04 16:13:44 eich Exp $ */
/*
* authorization hooks for the server
@@ -150,6 +150,7 @@ LoadAuthorization (void)
#endif
if (!f)
return 0;
+
while ((auth = XauReadAuth (f)) != 0) {
for (i = 0; i < NUM_AUTHORIZATION; i++) {
if (protocols[i].name_length == auth->name_length &&
@@ -163,6 +164,7 @@ LoadAuthorization (void)
}
XauDisposeAuth (auth);
}
+
#if !defined(WIN32) && !defined(__EMX__)
Pclose (f);
#else