From 83a9452974ec2f9c7be262a77e54a1ea2557c795 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 3 Jun 2011 18:03:19 +0400 Subject: [PATCH] Misprint. --- CMakeLists.txt | 4 ++-- src/cfg_file.h | 2 +- src/main.c | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54ad52821..78f08344f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -614,9 +614,9 @@ TARGET_LINK_LIBRARIES(rspamd ${CMAKE_REQUIRED_LIBRARIES}) TARGET_LINK_LIBRARIES(rspamd ${GLIB2_LIBRARIES}) IF(GMIME24) TARGET_LINK_LIBRARIES(rspamd ${GMIME24_LIBRARIES}) -ELSE(GMIME2_FOUND) +ELSE(GMIME24) TARGET_LINK_LIBRARIES(rspamd ${GMIME2_LIBRARIES}) -ENDIF(GMIME2_FOUND) +ENDIF(GMIME24) IF(ENABLE_STATIC MATCHES "ON") TARGET_LINK_LIBRARIES(rspamd ${PCRE_LIBRARIES}) ENDIF(ENABLE_STATIC MATCHES "ON") diff --git a/src/cfg_file.h b/src/cfg_file.h index 2d3cb20a0..9e10cd8fc 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -230,7 +230,7 @@ struct worker_conf { guint16 count; /**< number of workers */ gint listen_sock; /**< listening socket desctiptor */ guint32 rlimit_nofile; /**< max files limit */ - guint32 rlimit_maxcore; /**< maximum core file size */ + guint32 rlimit_maxcore; /**< maximum core file size */ GHashTable *params; /**< params for worker */ GQueue *active_workers; /**< linked list of spawned workers */ gboolean has_socket; /**< whether we should make listening socket in main process */ diff --git a/src/main.c b/src/main.c index 22cfdb04f..3298c01a6 100644 --- a/src/main.c +++ b/src/main.c @@ -316,7 +316,6 @@ set_worker_limits (struct worker_conf *cf) msg_warn ("cannot set max core rlimit: %d, %s", cf->rlimit_maxcore, strerror (errno)); } } - } static struct rspamd_worker * -- 2.39.5