Revision: 140643 https://trac.macports.org/changeset/140643 Author: cal@macports.org Date: 2015-09-28 14:25:15 -0700 (Mon, 28 Sep 2015) Log Message: ----------- base: tracelib: whitespace only Let's indent the macro definition of safe_free(x) for easier reading Modified Paths: -------------- trunk/base/src/pextlib1.0/tracelib.c Modified: trunk/base/src/pextlib1.0/tracelib.c =================================================================== --- trunk/base/src/pextlib1.0/tracelib.c 2015-09-28 21:24:05 UTC (rev 140642) +++ trunk/base/src/pextlib1.0/tracelib.c 2015-09-28 21:25:15 UTC (rev 140643) @@ -939,7 +939,11 @@ } static int TracelibCleanCmd(Tcl_Interp *interp UNUSED) { -#define safe_free(x) do{free(x); x=0;}while(0); +#define safe_free(x) do{ \ + free(x); \ + x = NULL; \ + } while(0); + if (sock != -1) { close(sock); sock = -1;
participants (1)
-
cal@macports.org