aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-06-03 18:03:19 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-06-03 18:03:19 +0400
commit83a9452974ec2f9c7be262a77e54a1ea2557c795 (patch)
tree494a3694a4a29048b4039bfc13ca99a3f82a0527
parentcd46ea93d5bb0b08e2c87125de88b32c47bc84aa (diff)
downloadrspamd-83a9452974ec2f9c7be262a77e54a1ea2557c795.tar.gz
rspamd-83a9452974ec2f9c7be262a77e54a1ea2557c795.zip
Misprint.
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/cfg_file.h2
-rw-r--r--src/main.c1
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 *