[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.147,1.148
Martin v. L?wis
loewis@users.sourceforge.net
Sun, 24 Jun 2001 14:35:45 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv20657
Modified Files:
socketmodule.c
Log Message:
Fix typos in inet_pton/inet_ntop.
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -C2 -r1.147 -r1.148
*** socketmodule.c 2001/06/24 21:28:42 1.147
--- socketmodule.c 2001/06/24 21:35:43 1.148
***************
*** 2960,2964 ****
/* 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)
{
if(af == AF_INET){
--- 2960,2965 ----
/* Simplistic emulation code for inet_pton that only works for IPv4 */
#ifndef HAVE_INET_PTON
! int
! inet_pton (int af, char *src, void *dst)
{
if(af == AF_INET){
***************
*** 2979,2983 ****
char *
! my_inet_ntop(int af, void *src, char *dst, socklen_t size)
{
if (af == AF_INET) {
--- 2980,2984 ----
char *
! inet_ntop(int af, void *src, char *dst, socklen_t size)
{
if (af == AF_INET) {