]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - x11fwd.c
Document /DNO_SECURITY compile option.
[PuTTY.git] / x11fwd.c
index 5be69b86013296fb4b9a783d3a5ee7beff79d208..b13f695fbaf6b83eadf78cdc58cd055b747532a1 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -197,10 +197,9 @@ char *x11_init(Socket * s, char *display, void *c)
 void x11_close(Socket s)
 {
     struct X11Private *pr;
-    \rif (!s)
-       \rreturn;
-    \rpr = (struct X11Private *) sk_get_private_ptr(s);
-
+    if (!s)
+       return;
+    pr = (struct X11Private *) sk_get_private_ptr(s);
     if (pr->auth_protocol) {
        sfree(pr->auth_protocol);
        sfree(pr->auth_data);