From 26392a977dbb5a6590d740236d862656d333e68b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 27 Mar 2004 06:13:23 +0000 Subject: 67. Prevent segfault if LISTEN specified with no hosts in xdm access control file. (Reported by Peter Breitenlohner to devel@xfree86.org) (Alan Coopersmith) 66. Typo in Xau.man reported by Peter Breitenlohner to devel@xfree86.org (Alan Coopersmith) --- access.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/access.c b/access.c index beffb81..a705323 100644 --- a/access.c +++ b/access.c @@ -1,5 +1,5 @@ /* - * $XdotOrg: access.c,v 1.5 2001/02/09 02:05:40 xorgcvs Exp $ + * $XdotOrg: xc/programs/xdm/access.c,v 1.1.4.3.4.1 2004/03/04 17:48:55 eich Exp $ * $Xorg: access.c,v 1.5 2001/02/09 02:05:40 xorgcvs Exp $ * Copyright 1990, 1998 The Open Group @@ -904,9 +904,9 @@ void ForEachListenAddr ( h = d->hosts; if (h != NULL) { (*listenfunction) (&h->entry.hostAddress, closure); - } - for (h = h->next; h != NULL; h = h->next) { - (*mcastfunction) (&h->entry.hostAddress, closure); + for (h = h->next; h != NULL; h = h->next) { + (*mcastfunction) (&h->entry.hostAddress, closure); + } } } } -- cgit v1.2.3