projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab8605c
)
SC in "finding an actual bug" shocker! Set the port number before passing
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Jan 2003 22:52:11 +0000
(22:52 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Jan 2003 22:52:11 +0000
(22:52 +0000)
it to name_lookup().
git-svn-id: svn://svn.tartarus.org/sgt/putty@2473
cda61777
-01e9-0310-a592-
d414129be87e
x11fwd.c
patch
|
blob
|
blame
|
history
diff --git
a/x11fwd.c
b/x11fwd.c
index
d21441b
..
5a83db2
100644
(file)
--- a/
x11fwd.c
+++ b/
x11fwd.c
@@
-200,6
+200,8
@@
char *x11_init(Socket * s, char *display, void *c, void *auth)
strcpy(host, "localhost");
}
+ port = 6000 + displaynum;
+
/*
* Try to find host.
*/
@@
-207,8
+209,6
@@
char *x11_init(Socket * s, char *display, void *c, void *auth)
if ((err = sk_addr_error(addr)) != NULL)
return err;
- port = 6000 + displaynum;
-
/*
* Open socket.
*/