D 2006-07-24T17:11:50 J icomment Logged\sIn:\sYES\s\nuser_id=1386588\n\n>Look\slike\sthe\sinit/free\sbalance\sis\scorrect\sto\sme.\n\nWhat\sif\sneither\sof\sthe\sif\sor\s'else\sif'\sexpressions\sis\strue?\nThe\scode\soutline\sis:\n\nTcl_DString\sds;\nif\s((*tclWinProcs->getComputerNameProc)(wbuf,\s&length)\s!=\s\n0)\s{\n\s\s/*\sInitialise\sds\s*/\n}\selse\sif\s(TclpHasSockets(NULL)\s==\sTCL_OK)\s{\n\s\s/*\sInitialise\sds\s*/\n}\n/*\sUse\sds\s*/\nTcl_DStringFree(&ds);\n\n\n\nAre\syou\sassuming\sthat\sone\sof\sthe\stwo\stest\sexpressions\n(in\sparticular\s"TclpHasSockets(NULL)")\swill\salways\nbe\strue?\n\n J login afredd J mimetype text/plain J username afredd K 1518166fffffffffffffffffffffffffffffffff U afredd Z 485d107ac255b819eb2fe5a2a175d411