Revision: 112645 https://trac.macports.org/changeset/112645 Author: cal@macports.org Date: 2013-10-28 14:29:43 -0700 (Mon, 28 Oct 2013) Log Message: ----------- tracelib: cleanup, not functional change Modified Paths: -------------- trunk/base/src/pextlib1.0/tracelib.c Modified: trunk/base/src/pextlib1.0/tracelib.c =================================================================== --- trunk/base/src/pextlib1.0/tracelib.c 2013-10-28 20:48:23 UTC (rev 112644) +++ trunk/base/src/pextlib1.0/tracelib.c 2013-10-28 21:29:43 UTC (rev 112645) @@ -774,7 +774,6 @@ cleanuping = 1; pthread_mutex_lock(&sock_mutex); if (sock != -1) { - /* shutdown(sock, SHUT_RDWR);*/ close(sock); sock = -1; } @@ -798,9 +797,7 @@ cleanuping = 1; pthread_mutex_lock(&sock_mutex); if (sock != -1) { - int oldsock = sock; - /*shutdown(sock, SHUT_RDWR);*/ - close(oldsock); + close(sock); sock = -1; if (kq != -1) {