Commit d91a8791 authored by bescoto's avatar bescoto

Specify socket type as SOCK_STREAM


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@395 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 2bde8d2c
New in v0.13.2 (??????????)
---------------------------
Specified socket type as SOCK_STREAM. (Error reported by Erik
Forsberg.)
New in v0.13.1 (2003/08/08)
---------------------------
......
......@@ -14,7 +14,7 @@ else:
base = "rdiff-backup-%s" % (Version,)
tarfile = base + ".tar.gz"
rpmbase = base + "-0.fdr.3" # Fedora suffix, with release number 1
rpmbase = base + "-0.fdr.4" # Fedora suffix, with release number 4
i386_rpm = rpmbase + ".i386.rpm"
source_rpm = rpmbase + ".src.rpm"
......
......@@ -222,7 +222,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