Parent Directory | Revision Log | Patch
revision 1.14 by hauk, Wed Jul 2 21:00:39 2003 UTC | revision 1.15 by hauk, Wed Jul 2 21:18:35 2003 UTC | |
---|---|---|
# | Line 155 static int initialize_server() { | Line 155 static int initialize_server() { |
155 | sigemptyset(&sa.sa_mask); | sigemptyset(&sa.sa_mask); |
156 | sa.sa_handler= do_timeout; | sa.sa_handler= do_timeout; |
157 | sigaction(SIGALRM, &sa, NULL); | sigaction(SIGALRM, &sa, NULL); |
158 | alarm(10000); | alarm(SMTP_TIMEOUT); |
//FIXME alarm(SMTP_TIMEOUT); | ||
159 | ||
160 | S= socket_new(server, SMTP_PORT, SOCK_STREAM, FALSE); | S= socket_new(server, SMTP_PORT, SOCK_STREAM, FALSE); |
161 | if(!S) { | if(!S) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |