diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.170 2002/04/22 21:04:52 markus Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.171 2002/05/16 22:09:59 stevesk Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -811,10 +811,10 @@ x11_get_proto(char **_proto, char **_data) | |||
811 | * XXX: "localhost" match to determine FamilyLocal | 811 | * XXX: "localhost" match to determine FamilyLocal |
812 | * is not perfect. | 812 | * is not perfect. |
813 | */ | 813 | */ |
814 | snprintf(line, sizeof line, "%.100s list unix:%s 2>" | 814 | snprintf(line, sizeof line, "%s list unix:%s 2>" |
815 | _PATH_DEVNULL, options.xauth_location, display+10); | 815 | _PATH_DEVNULL, options.xauth_location, display+10); |
816 | else | 816 | else |
817 | snprintf(line, sizeof line, "%.100s list %.200s 2>" | 817 | snprintf(line, sizeof line, "%s list %.200s 2>" |
818 | _PATH_DEVNULL, options.xauth_location, display); | 818 | _PATH_DEVNULL, options.xauth_location, display); |
819 | debug2("x11_get_proto %s", line); | 819 | debug2("x11_get_proto %s", line); |
820 | f = popen(line, "r"); | 820 | f = popen(line, "r"); |