You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mt...@apache.org on 2009/03/05 17:12:09 UTC

svn commit: r750489 - /qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp

Author: mteira
Date: Thu Mar  5 16:12:09 2009
New Revision: 750489

URL: http://svn.apache.org/viewvc?rev=750489&view=rev
Log:
Replace PF_LOCAL with PF_UNIX, since it seems to be equivalent, and the 
former doesn't exist on Solaris (for instance)

Modified:
    qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp?rev=750489&r1=750488&r2=750489&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp Thu Mar  5 16:12:09 2009
@@ -151,7 +151,7 @@
     // TODO: Abstract the socket calls for portability
     if (extThread) {
         int pair[2];
-        int result = socketpair(PF_LOCAL, SOCK_STREAM, 0, pair);
+        int result = socketpair(PF_UNIX, SOCK_STREAM, 0, pair);
         if (result == -1) {
             return;
         }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org