diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.274 2014/07/15 15:54:14 millert Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.275 2014/12/22 07:55:51 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -2648,7 +2648,7 @@ session_setup_x11fwd(Session *s) | |||
2648 | debug("X11 forwarding disabled in server configuration file."); | 2648 | debug("X11 forwarding disabled in server configuration file."); |
2649 | return 0; | 2649 | return 0; |
2650 | } | 2650 | } |
2651 | if (!options.xauth_location || | 2651 | if (options.xauth_location == NULL || |
2652 | (stat(options.xauth_location, &st) == -1)) { | 2652 | (stat(options.xauth_location, &st) == -1)) { |
2653 | packet_send_debug("No xauth program; cannot forward with spoofing."); | 2653 | packet_send_debug("No xauth program; cannot forward with spoofing."); |
2654 | return 0; | 2654 | return 0; |