diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-05 16:39:59 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-05 16:39:59 +0400 |
commit | 3cd423a9d825d10c2e0390a2a35a5f99a1f74127 (patch) | |
tree | 692d75f333e2158b6427b2aa91be23702a49e5d3 /src/worker.c | |
parent | 2be622266017d22e7f65d47bc4023d0135d3e29b (diff) | |
download | rspamd-3cd423a9d825d10c2e0390a2a35a5f99a1f74127.tar.gz rspamd-3cd423a9d825d10c2e0390a2a35a5f99a1f74127.zip |
* Do not use values from clock_gettime for getting current time
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index af4575919..99c311e1f 100644 --- a/src/worker.c +++ b/src/worker.c @@ -254,7 +254,7 @@ accept_socket (int fd, short what, void *arg) struct worker_task *new_task; socklen_t addrlen = sizeof(ss); int nfd; - + if ((nfd = accept_from_socket (fd, (struct sockaddr *)&ss, &addrlen)) == -1) { msg_warn ("accept_socket: accept failed: %s", strerror (errno)); return; |