Parent Directory | Revision Log | Patch
revision 1.21 by hauk, Wed Sep 3 23:28:38 2003 UTC | revision 1.22 by hauk, Wed Sep 10 00:32:41 2003 UTC | |
---|---|---|
# | Line 148 Socket_T socket_create(void *port) { | Line 148 Socket_T socket_create(void *port) { |
148 | S->type= p->type; | S->type= p->type; |
149 | S->port= p->port; | S->port= p->port; |
150 | S->timeout= p->timeout; | S->timeout= p->timeout; |
151 | S->host= xstrdup(p->hostname); | if(p->family==AF_UNIX) { |
152 | S->host= xstrdup(p->pathname); | |
153 | } else { | |
154 | S->host= xstrdup(p->hostname); | |
155 | } | |
156 | ||
157 | if(p->SSL.use_ssl) { | if(p->SSL.use_ssl) { |
158 | if(! (S->ssl= new_ssl_connection(NULL, p->SSL.version))) { | if(! (S->ssl= new_ssl_connection(NULL, p->SSL.version))) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |