control: tag -1 patch

After running (elserv-start) and switching to the *elserv*8000 buffer
that is used for interaction with the elservd process, I see:

,----
| /usr/lib/elserv/elservd:176:in `<main>': uninitialized constant TCPserver 
(NameError)
| Did you mean?  TCPServer
`----

So, at some point somebody in Ruby must have decided to rename TCPserver
to TCPServer. Changing the case of one letter fixes the issue, see below.

The last known home for elserv is <http://elserv.sourceforge.net/> and
it seems pretty dead. I think that the package should not be released
with stretch, so I am not doing an NMU.

Cheers,
-Hilko
index 0ae8505..fb01be9
--- a/elservd.in
+++ b/elservd.in
@@ -137,7 +137,7 @@ end
 
 ## Emacs thread
 Thread.start() do
-  emacs_daemon = TCPserver.open("localhost", 0)
+  emacs_daemon = TCPServer.open("localhost", 0)
   ## Greeting.
   STDOUT.print "elserv-port: ", emacs_daemon.addr[1], CRLF, CRLF
   while TRUE
@@ -173,7 +173,7 @@ session_count = 0
 m = Mutex.new
 
 ## MAIN thread
-gs = TCPserver.open(ARGV[0])
+gs = TCPServer.open(ARGV[0])
 while TRUE
   s = gs.accept
   ## end of MAIN thread

Reply via email to