Commit ee3be3c8 authored by Tad Hunt's avatar Tad Hunt
Browse files

fix Apple OSX build issue

Fix build issue introduced by commit 9b0b8c1c
"Local variable names shadowed global function names (e.g. read),
this would cause compile errors with gcc 4.4.7."
parent 3e3d075a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ void KineticSocket_BeginPacket(int fd)
    int on = 1;
    setsockopt(fd, IPPROTO_TCP, TCP_CORK, &on, sizeof(on));
#else
    (void)socket;
    (void)fd;
#endif
}

@@ -175,6 +175,6 @@ void KineticSocket_FinishPacket(int fd)
    int off = 0;
    setsockopt(fd, IPPROTO_TCP, TCP_CORK, &off, sizeof(off));
#else
    (void)socket;
    (void)fd;
#endif
}