Commit 124b433d authored by bescoto's avatar bescoto

Added SOCK_STREAM argument in make_socket_local


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@396 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent d91a8791
New in v0.12.4 (??????????)
---------------------------
Specified socket type as SOCK_STREAM. (Error reported by Erik
Forsberg.)
New in v0.12.3 (2003/08/08)
---------------------------
......
......@@ -216,7 +216,7 @@ def make_socket_local(rpath):
"""
assert rpath.conn is Globals.local_connection
s = socket.socket(socket.AF_UNIX)
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
try: s.bind(rpath.path)
except socket.error, exc:
raise SkipFileException("Socket error: " + str(exc))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment