File: retval_for_serve.patch

package info (click to toggle)
tcl-xmlrpc 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 208 kB
  • ctags: 129
  • sloc: tcl: 2,385; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: William Joye <wjoye@cfa.harvard.edu>
Description: Add a return value to xmlrpc:serve
 This was taken from the changes in the saods9 package.
--- a/xmlrpc.tcl
+++ b/xmlrpc.tcl
@@ -86,6 +86,7 @@
 	variable	acceptfd
 
 	set acceptfd [socket -server xmlrpc::serveOnce $port]
+	return $acceptfd
 }
 
 # Accept a new connection