Parent Directory | Revision Log | Patch
revision 1.22 by hauk, Wed Sep 10 00:32:41 2003 UTC | revision 1.23 by hauk, Wed Sep 10 01:16:56 2003 UTC | |
---|---|---|
# | Line 149 Socket_T socket_create(void *port) { | Line 149 Socket_T socket_create(void *port) { |
149 | S->port= p->port; | S->port= p->port; |
150 | S->timeout= p->timeout; | S->timeout= p->timeout; |
151 | if(p->family==AF_UNIX) { | if(p->family==AF_UNIX) { |
152 | S->host= xstrdup(p->pathname); | S->host= xstrdup(LOCALHOST); |
153 | } else { | } else { |
154 | S->host= xstrdup(p->hostname); | S->host= xstrdup(p->hostname); |
155 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |