]> git.pld-linux.org Git - packages/dynix.git/blob - dynix-dyn.ee.patch
- tabs in preamble
[packages/dynix.git] / dynix-dyn.ee.patch
1 --- dynix.c~    2004-11-21 12:29:57.000000000 +0200
2 +++ dynix.c     2004-11-21 12:29:59.000000000 +0200
3 @@ -360,7 +360,11 @@
4  /* Note: if both bind()-s failed it will use the default local ip from the route table so no problemo */
5   if(soket != 0) {
6     dbgtxt("Connecting: inet_addr() ");
7 -   buf = gethostbyname("www.dynserv.ca");
8 +        if (strcmp(usedomain, "dyn.ee") == 0) {
9 +          buf = gethostbyname("dyn.ee");
10 +        } else {
11 +          buf = gethostbyname("www.dynserv.ca");
12 +        }
13     if (buf) {
14      memcpy(&sckaddr.sin_addr,buf->h_addr_list[0],sizeof(struct in_addr));
15      dbgtxt("Connecting: htons()");
This page took 0.089089 seconds and 3 git commands to generate.