/[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.10 by pseudo, Thu Feb 3 15:44:11 2011 UTC revision 1.11 by pseudo, Tue Feb 15 23:55:17 2011 UTC
# Line 205  int setsockname(sockname_t *addr, char * Line 205  int setsockname(sockname_t *addr, char *
205        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);
206        af = hp->h_addrtype;        af = hp->h_addrtype;
207      }      }
208    }    } else
209        af = AF_INET;
210        
211    addr->family = addr->addr.s4.sin_family = AF_INET;    addr->family = addr->addr.s4.sin_family = AF_INET;
212    addr->addr.sa.sa_family = addr->family;    addr->addr.sa.sa_family = addr->family;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23