bugfix: service and name swapped
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 21 May 2010 06:20:12 +0000 (00:20 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Fri, 21 May 2010 06:20:12 +0000 (00:20 -0600)
src/Moof/Socket.hh

index da8132acf62657d9cd688d03e09dd0f165ce487d..a4cb310b3403b4183562354dedbc54d56ab24738 100644 (file)
@@ -111,7 +111,7 @@ public:
                mType(addr->ai_socktype)
        {
                memcpy(&mAddr.sa, addr->ai_addr, addr->ai_addrlen);
                mType(addr->ai_socktype)
        {
                memcpy(&mAddr.sa, addr->ai_addr, addr->ai_addrlen);
-               getNameAndService(mService, mName);
+               getNameAndService(mName, mService);
        }
 
        /**
        }
 
        /**
@@ -127,7 +127,7 @@ public:
                mType(type)
        {
                memcpy(&mAddr.sa, addr, size);
                mType(type)
        {
                memcpy(&mAddr.sa, addr, size);
-               getNameAndService(mService, mName);
+               getNameAndService(mName, mService);
        }
 
 
        }
 
 
This page took 0.020417 seconds and 4 git commands to generate.