summaryrefslogtreecommitdiff
path: root/chinese/gcin/files/patch-im-srv.c
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2005-03-01 19:02:27 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2005-03-01 19:02:27 +0000
commit380c9f4d9034501bd35129828fbea00aeaae015f (patch)
tree5d4b89ec5b453ad672f4aba927781749fbdf8c9a /chinese/gcin/files/patch-im-srv.c
parentUpgrade to 20050228 snapshot (2.0 beta RC6). (diff)
Upgrade to 0.8.4.
Approved by: maintainer
Diffstat (limited to 'chinese/gcin/files/patch-im-srv.c')
-rw-r--r--chinese/gcin/files/patch-im-srv.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/chinese/gcin/files/patch-im-srv.c b/chinese/gcin/files/patch-im-srv.c
new file mode 100644
index 000000000000..f30f10b28bfa
--- /dev/null
+++ b/chinese/gcin/files/patch-im-srv.c
@@ -0,0 +1,11 @@
+--- im-srv/im-srv.c.orig Mon Feb 14 10:18:04 2005
++++ im-srv/im-srv.c Wed Mar 2 02:49:58 2005
+@@ -121,7 +121,7 @@
+ char sock_path[128];
+ get_gcin_im_srv_sock_path(sock_path, sizeof(sock_path));
+ strcpy(serv_addr.sun_path, sock_path);
+- servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family);
++ servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family) + 1;
+
+ dbg("-- %s\n",serv_addr.sun_path);
+ struct stat st;