qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mte...@apache.org
Subject svn commit: r750489 - /qpid/trunk/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp
Date Thu, 05 Mar 2009 16:12:09 GMT
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


Mime
View raw message