Skip to content

Commit

Permalink
Additional MacOS fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jan 30, 2014
1 parent 2aaa7ec commit 44c546a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/XrdSys/XrdSysIOEventsPollPoll.icc
Expand Up @@ -428,8 +428,8 @@ bool XrdSys::IOEvents::PollPoll::Include(XrdSys::IOEvents::Channel *cP,
{FDMod(ctnum, fd, cP->GetEvents());
return true;
} else {
PipeData cmdbuff = {(char)PipeData::MiFD, (char)cP->GetEvents(),
(short)ctnum, fd, 0};
PipeData cmdbuff((char)PipeData::MiFD, (char)cP->GetEvents(),
(short)ctnum, fd, 0);
if (isLocked) {isLocked = false; UnLockChannel(cP);}
SendCmd(cmdbuff);
}
Expand Down Expand Up @@ -457,8 +457,8 @@ bool XrdSys::IOEvents::PollPoll::Modify(XrdSys::IOEvents::Channel *cP,
{FDMod(GetPollEnt(cP), cP->GetFD(), cP->GetEvents());
return true;
} else {
PipeData cmdbuff = {(char)PipeData::MdFD, (char)cP->GetEvents(),
(short)GetPollEnt(cP), cP->GetFD(), 0};
PipeData cmdbuff((char)PipeData::MdFD, (char)cP->GetEvents(),
(short)GetPollEnt(cP), cP->GetFD(), 0);
if (isLocked) {isLocked = false; UnLockChannel(cP);}
SendCmd(cmdbuff);
}
Expand Down

0 comments on commit 44c546a

Please sign in to comment.