Skip to content

Commit

Permalink
Merge pull request #1 from espenhw/master
Browse files Browse the repository at this point in the history
Fix TranslateSocketError on OSX
  • Loading branch information
peterix committed Sep 28, 2012
2 parents d0b2d07 + 0674637 commit 178a491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ int32 CSimpleSocket::SendFile(int32 nOutFd, int32 nInFd, off_t *pOffset, int32 n
//------------------------------------------------------------------------------
void CSimpleSocket::TranslateSocketError(void)
{
#ifdef _LINUX
#if defined(_LINUX) || defined(_DARWIN)
switch (errno)
{
case EXIT_SUCCESS:
Expand Down

0 comments on commit 178a491

Please sign in to comment.