diff Modules/socketmodule.c @ 18264:3d9164d95e78 legacy-trunk

Fix typos in inet_pton/inet_ntop.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 24 Jun 2001 21:35:43 +0000
parents 41491d196748
children 78bfbe2e719c
line wrap: on
line diff
--- a/Modules/socketmodule.c	Sun Jun 24 21:28:42 2001 +0000
+++ b/Modules/socketmodule.c	Sun Jun 24 21:35:43 2001 +0000
@@ -2959,7 +2959,8 @@
 
 /* Simplistic emulation code for inet_pton that only works for IPv4 */
 #ifndef HAVE_INET_PTON
-int my_inet_pton (int af, char *src, void *dst)
+int 
+inet_pton (int af, char *src, void *dst)
 {
 	if(af == AF_INET){
 		long packed_addr;
@@ -2978,7 +2979,7 @@
 }
 
 char *
-my_inet_ntop(int af, void *src, char *dst, socklen_t size)
+inet_ntop(int af, void *src, char *dst, socklen_t size)
 {
 	if (af == AF_INET) {
 		struct in_addr packed_addr;