]> andersk Git - openssh.git/blobdiff - channels.c
- (tim) [configure.ac] Move CHECK_HEADERS test before platform specific
[openssh.git] / channels.c
index dfa1e591bf0fbc74437315a0cfd52a382df24676..26b63a1aae9047fb91a97fd412b40f25e85a8cca 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.c,v 1.265 2006/08/03 03:34:41 deraadt Exp $ */
+/* $OpenBSD: channels.c,v 1.266 2006/08/29 10:40:18 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -3164,9 +3164,7 @@ x11_request_forwarding_with_spoofing(int client_session_id, const char *disp,
                return;
        }
 
-       cp = disp;
-       if (disp)
-               cp = strchr(disp, ':');
+       cp = strchr(disp, ':');
        if (cp)
                cp = strchr(cp, '.');
        if (cp)
This page took 0.048792 seconds and 4 git commands to generate.