summaryrefslogtreecommitdiff
path: root/lib/inet_pton.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-16 22:01:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-16 22:01:39 +0000
commit61133545f6790f3d6ae4fcfdb4bc7a3156a17cdd (patch)
treecc692c119c515f6ff6a0cc9250e8ded8ae96b92f /lib/inet_pton.h
parentbf87d13f5b94aed8876d2c950faeadf7e6636128 (diff)
downloadcurl-61133545f6790f3d6ae4fcfdb4bc7a3156a17cdd.tar.gz
- Tru64 and some IRIX boxes seem to not like test 237 as it is. Their
inet_addr() functions seems to use &255 on all numericals in a ipv4 dotted address which makes a different failure... Now I've modified the ipv4 resolve code to use inet_pton() instead in an attempt to make these systems better detect this as a bad IP address rather than creating a toally bogus address that is then passed on and used.
Diffstat (limited to 'lib/inet_pton.h')
-rw-r--r--lib/inet_pton.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/inet_pton.h b/lib/inet_pton.h
index b0a70d457..6d911eb7b 100644
--- a/lib/inet_pton.h
+++ b/lib/inet_pton.h
@@ -1,10 +1,10 @@
#ifndef __INET_PTON_H
#define __INET_PTON_H
/***************************************************************************
- * _ _ ____ _
- * Project ___| | | | _ \| |
- * / __| | | | |_) | |
- * | (__| |_| | _ <| |___
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
@@ -12,7 +12,7 @@
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at http://curl.haxx.se/docs/copyright.html.
- *
+ *
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.