trawick 00/11/15 10:11:34
Modified: src/lib/apr/include apr_network_io.h
Log:
add a warning about the use of inet_network() when inet_addr() isn't
available;
fix a typo (I don't think that spelling is valid even in the UK :) )
Revision Changes Path
1.69 +3 -1 apache-2.0/src/lib/apr/include/apr_network_io.h
Index: apr_network_io.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_network_io.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- apr_network_io.h 2000/11/10 19:21:31 1.68
+++ apr_network_io.h 2000/11/15 18:11:34 1.69
@@ -126,6 +126,8 @@
#if APR_HAVE_INET_ADDR
#define apr_inet_addr inet_addr
#elif APR_HAVE_INET_NETWORK /* only DGUX, as far as I know */
+/* not generally safe... inet_network() and inet_addr() perform
+ * different functions */
#define apr_inet_addr inet_network
#endif
@@ -138,7 +140,7 @@
typedef apr_uint16_t apr_port_t;
/* we're going to roll our own sockaddr type as we want to make sure
- * we have protocol independance for APR...
+ * we have protocol independence for APR...
*
* It's defined here as I think it should all be platform safe...
*/