xtrans 1.2.7 (#806309)
This commit is contained in:
parent
48b3ca9b10
commit
3e51c65fc5
@ -1,11 +1,11 @@
|
||||
diff -up xtrans-1.0.3/Xtransutil.c.jx xtrans-1.0.3/Xtransutil.c
|
||||
--- xtrans-1.0.3/Xtransutil.c.jx 2006-12-06 11:08:53.000000000 -0500
|
||||
+++ xtrans-1.0.3/Xtransutil.c 2007-10-01 14:53:43.000000000 -0400
|
||||
@@ -271,6 +271,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
|
||||
diff -up xtrans-1.2.7/Xtransutil.c.jx xtrans-1.2.7/Xtransutil.c
|
||||
--- xtrans-1.2.7/Xtransutil.c.jx 2012-03-22 23:04:35.000000000 -0400
|
||||
+++ xtrans-1.2.7/Xtransutil.c 2012-04-09 16:39:29.000000000 -0400
|
||||
@@ -255,6 +255,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
|
||||
case AF_UNIX:
|
||||
{
|
||||
struct sockaddr_un *saddr = (struct sockaddr_un *) addr;
|
||||
+ strcpy(hostnamebuf, "unix");
|
||||
networkId = (char *) xalloc (3 + strlen (transName) +
|
||||
networkId = malloc (3 + strlen (transName) +
|
||||
strlen (hostnamebuf) + strlen (saddr->sun_path));
|
||||
sprintf (networkId, "%s/%s:%s", transName,
|
||||
|
Loading…
Reference in New Issue
Block a user