From 125f447cdb6cf668004e072510674ced91764ffb Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Fri, 21 May 2010 00:20:12 -0600 Subject: [PATCH] bugfix: service and name swapped --- src/Moof/Socket.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.45.2