]> source.dussan.org Git - rspamd.git/commitdiff
Misprint.
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 3 Jun 2011 14:03:19 +0000 (18:03 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 3 Jun 2011 14:03:19 +0000 (18:03 +0400)
CMakeLists.txt
src/cfg_file.h
src/main.c

index 54ad52821f5439ff95494fac67b0ea729961ceeb..78f08344f5a652d866f3289620f80dfb01d8a919 100644 (file)
@@ -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")
index 2d3cb20a0822ebc7efdf8f0bf0d8ab48429483e4..9e10cd8fc32f2dc61dc3da5bf3c75d98b119a643 100644 (file)
@@ -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 */
index 22cfdb04f3fa7958ad444e415323f6f34051bdc7..3298c01a6b5e6cfc332771827ea675632fd79785 100644 (file)
@@ -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    *