From: Vsevolod Stakhov Date: Fri, 3 Jun 2011 14:03:19 +0000 (+0400) Subject: Misprint. X-Git-Tag: 0.3.14~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83a9452974ec2f9c7be262a77e54a1ea2557c795;p=thirdparty%2Frspamd.git Misprint. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 54ad52821f..78f08344f5 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 2d3cb20a08..9e10cd8fc3 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 22cfdb04f3..3298c01a6b 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 *