From: Charles McGarvey Date: Fri, 21 May 2010 06:20:12 +0000 (-0600) Subject: bugfix: service and name swapped X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=125f447cdb6cf668004e072510674ced91764ffb;p=chaz%2Fyoink bugfix: service and name swapped --- diff --git a/src/Moof/Socket.hh b/src/Moof/Socket.hh index da8132a..a4cb310 100644 --- a/src/Moof/Socket.hh +++ b/src/Moof/Socket.hh @@ -111,7 +111,7 @@ public: 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); - getNameAndService(mService, mName); + getNameAndService(mName, mService); }