/[cvs]/eggdrop1.8/src/net.c
ViewVC logotype

Diff of /eggdrop1.8/src/net.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by pseudo, Mon Aug 23 21:27:40 2010 UTC revision 1.4 by pseudo, Tue Sep 14 19:45:29 2010 UTC
# Line 201  int setsockname(sockname_t *addr, char * Line 201  int setsockname(sockname_t *addr, char *
201        egg_memcpy(&addr->addr.s4.sin_addr, hp->h_addr, hp->h_length);        egg_memcpy(&addr->addr.s4.sin_addr, hp->h_addr, hp->h_length);
202        af = hp->h_addrtype;        af = hp->h_addrtype;
203      }      }
204    }    } else
205        af = AF_INET;
206        
207    addr->family = addr->addr.s4.sin_family = AF_INET;    addr->family = addr->addr.s4.sin_family = AF_INET;
208    addr->addr.sa.sa_family = addr->family;    addr->addr.sa.sa_family = addr->family;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23