summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasiljevic <vasiljevic@noemail.net>2006-09-07 09:08:11 (GMT)
committervasiljevic <vasiljevic@noemail.net>2006-09-07 09:08:11 (GMT)
commita45a9bf1e25816268fbbf3d6740a94c0c7c61e5e (patch)
treecc2319349e2819d8ad8cad8fae6174b9ed78231a
parent07c7678e8cccdc79ef2190ef42cbb8c893470e80 (diff)
downloadtcl-a45a9bf1e25816268fbbf3d6740a94c0c7c61e5e.zip
tcl-a45a9bf1e25816268fbbf3d6740a94c0c7c61e5e.tar.gz
tcl-a45a9bf1e25816268fbbf3d6740a94c0c7c61e5e.tar.bz2
Fixed typos in some wrapers
FossilOrigin-Name: e464350dcb4c8dd36b1237286d185bb2280015d6
-rw-r--r--unix/tclUnixCompat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixCompat.c b/unix/tclUnixCompat.c
index 7904c3f..5ab78aa 100644
--- a/unix/tclUnixCompat.c
+++ b/unix/tclUnixCompat.c
@@ -6,7 +6,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixCompat.c,v 1.1.2.3 2006/09/07 08:55:40 vasiljevic Exp $
+ * RCS: @(#) $Id: tclUnixCompat.c,v 1.1.2.4 2006/09/07 09:08:12 vasiljevic Exp $
*
*/
@@ -538,13 +538,13 @@ TclpGetHostByName(const char *name)
#elif defined(HAVE_GETHOSTBYNAME_R_6)
struct hostent *hePtr;
int h_errno;
- return (gethostbyname_r(name, &tsdPtr->buf.hent, tsdPtr->hbuf,
+ return (gethostbyname_r(name, &tsdPtr->hent, tsdPtr->hbuf,
sizeof(tsdPtr->hbuf), &hePtr, &h_errno) == 0) ?
&tsdPtr->hent : NULL;
#elif defined(HAVE_GETHOSTBYNAME_R_3)
struct hostent_data data;
- return (gethostbyname_r(host, &tsdPtr->buf.hent, &data) == 0) ?
+ return (gethostbyname_r(host, &tsdPtr->hent, &data) == 0) ?
&tsdPtr->buf.hent : NULL;
#else
struct hostent *hePtr;
@@ -595,7 +595,7 @@ TclpGetHostByAddr(const char *addr, int length, int type)
#elif defined(HAVE_GETHOSTBYADDR_R_8)
struct hostent *hePtr;
int h_errno;
- return (gethostbyaddr_r(addr, length, type, &tsdPtr->buf.hent, tsdPtr->hbuf,
+ return (gethostbyaddr_r(addr, length, type, &tsdPtr->hent, tsdPtr->hbuf,
sizeof(tsdPtr->hbuf), &hePtr, &h_errno) == 0) ?
&tsdPtr->hent : NULL;
#else