[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error connecting to telnet URLs with port number
From: |
Diane Murray |
Subject: |
Error connecting to telnet URLs with port number |
Date: |
Sat, 22 Sep 2007 18:47:17 +0200 |
An error occurs if URL tries to retrieve a telnet URL including a
port, because `terminal-emulator' only expects strings as the ARGS.
Here's a patch to fix that.
2007-09-22 Diane Murray <address@hidden>
* url-misc.el (url-generic-emulator-loader): Send the port as a
string to `url-do-terminal-emulator'.
--- url-misc.el 02 Aug 2007 18:43:27 +0200 1.10.2.1
+++ url-misc.el 22 Sep 2007 18:30:53 +0200
@@ -75,7 +75,7 @@
(let* ((type (intern (downcase (url-type url))))
(server (url-host url))
(name (url-user url))
- (port (url-port url)))
+ (port (number-to-string (url-port url))))
(url-do-terminal-emulator type server port name))
nil)
- Error connecting to telnet URLs with port number,
Diane Murray <=