summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2006-09-07 09:08:12 (GMT)
committervasiljevic <zv@archiware.com>2006-09-07 09:08:12 (GMT)
commiteb54bb93d9685a9cbe240291c2f185a6eda6f292 (patch)
treecc2319349e2819d8ad8cad8fae6174b9ed78231a
parent916d435d96216094259a369fa65b5db9cf2eaf4a (diff)
downloadtcl-eb54bb93d9685a9cbe240291c2f185a6eda6f292.zip
tcl-eb54bb93d9685a9cbe240291c2f185a6eda6f292.tar.gz
tcl-eb54bb93d9685a9cbe240291c2f185a6eda6f292.tar.bz2
Fixed typos in some wrapers
-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