]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Use PF_UNIX on Solaris platforms instead of PF_LOCAL.
authorSteven Dake <sdake@redhat.com>
Sun, 14 Jun 2009 11:37:53 +0000 (11:37 +0000)
committerSteven Dake <sdake@redhat.com>
Sun, 14 Jun 2009 11:37:53 +0000 (11:37 +0000)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2240 fd59a12c-fef9-0310-b244-a6a79926bd2f

lib/coroipcc.c

index 022f57e0bba259799fbe343169cc96fa9b5965bc..8745ebef99f26c65caea380ba8e2b0751716d633 100644 (file)
@@ -529,7 +529,11 @@ coroipcc_service_connect (
 
        res_setup.error = CS_ERR_LIBRARY;
 
+#if defined(COROSYNC_SOLARIS)
+       request_fd = socket (PF_UNIX, SOCK_STREAM, 0);
+#else
        request_fd = socket (PF_LOCAL, SOCK_STREAM, 0);
+#endif
        if (request_fd == -1) {
                return (CS_ERR_LIBRARY);
        }