diff options
author | George Lebl <jirka@5z.com> | 2003-08-04 22:09:44 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-08-04 22:09:44 +0000 |
commit | 972b3388539a928b9d3930ffd847763a8d9f5340 (patch) | |
tree | fea1357fbac9257a116b9fa374694abcd51e0028 /daemon/choose.c | |
parent | 19a026c468cb4bc3266d9b104f6b6c77b3891678 (diff) | |
download | gdm-972b3388539a928b9d3930ffd847763a8d9f5340.tar.gz |
fix crash when indirect display expires
Mon Aug 04 15:05:26 2003 George Lebl <jirka@5z.com>
* daemon/choose.c: fix crash when indirect display expires
* daemon/gdm.c: call gdm_ensure_sanity on startup as well, seems like
a good place to ensure sanity too
* daemon/xdmcp.c: fix checking auth string, fix debug messages
Diffstat (limited to 'daemon/choose.c')
-rw-r--r-- | daemon/choose.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/choose.c b/daemon/choose.c index 3e03b2c5..e377bcc9 100644 --- a/daemon/choose.c +++ b/daemon/choose.c @@ -230,8 +230,9 @@ gdm_choose_indirect_lookup (struct sockaddr_in *clnt_sa) if (id->acctime > 0 && curtime > id->acctime + GdmMaxIndirectWait) { gdm_debug ("gdm_choose_indirect_check: Disposing stale INDIRECT query from %s", - inet_ntoa (clnt_sa->sin_addr)); + inet_ntoa (id->dsp_sa->sin_addr)); gdm_choose_indirect_dispose (id); + continue; } if (id->dsp_sa->sin_addr.s_addr == clnt_sa->sin_addr.s_addr) { |