summaryrefslogtreecommitdiffstats
path: root/src/upstream.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-24 20:57:05 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-24 20:57:05 +0400
commit62108fe767966d44e43f4b23094f220dd0d6bf27 (patch)
treeb87a61491189f85f57f387ee99e7844f750a92c1 /src/upstream.c
parent4536c2547b508cfa575218f6ebc147bf471ba465 (diff)
downloadrspamd-62108fe767966d44e43f4b23094f220dd0d6bf27.tar.gz
rspamd-62108fe767966d44e43f4b23094f220dd0d6bf27.zip
* Use rspamd_snprintf instead of libc one
Diffstat (limited to 'src/upstream.c')
-rw-r--r--src/upstream.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/upstream.c b/src/upstream.c
index cb5171075..cf96f4624 100644
--- a/src/upstream.c
+++ b/src/upstream.c
@@ -22,24 +22,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef _THREAD_SAFE
-# include <pthread.h>
-#endif
-
-#include <sys/types.h>
-#include <time.h>
-#include <stdlib.h>
-#include <stdio.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#include <limits.h>
-#ifdef WITH_DEBUG
-# include <syslog.h>
-#endif
+#include "config.h"
#include "upstream.h"
#ifdef WITH_DEBUG