]> code.citadel.org Git - citadel.git/commitdiff
Removed some debugging messages we no longer need.
authorArt Cancro <ajc@citadel.org>
Fri, 13 Oct 2006 04:12:54 +0000 (04:12 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 13 Oct 2006 04:12:54 +0000 (04:12 +0000)
citadel/serv_sieve.c

index 29aca2c843f57e6a7319f65d3463fe34e4bbc52b..e625927408ae803cad23c5c50476ca04e882a804 100644 (file)
@@ -308,15 +308,7 @@ int ctdl_getscript(sieve2_context_t *s, void *my) {
        struct sdm_script *sptr;
        struct ctdl_sieve *cs = (struct ctdl_sieve *)my;
 
-       lprintf(CTDL_DEBUG, "ctdl_getscript() was called.  config_msgnum=%ld config_lastproc=%ld\n",
-               cs->u->config_msgnum, cs->u->lastproc
-       );
-
        for (sptr=cs->u->first_script; sptr!=NULL; sptr=sptr->next) {
-               lprintf(CTDL_DEBUG, "Can we use script '%s' ?  %s.\n",
-                       sptr->script_name,
-                       ( (sptr->script_active > 0) ? "yes" : "no" )
-               );
                if (sptr->script_active > 0) {
                        lprintf(CTDL_DEBUG, "ctdl_getscript() is using script '%s'\n", sptr->script_name);
                        sieve2_setvalue_string(s, "script", sptr->script_content);
@@ -431,7 +423,6 @@ void parse_sieve_config(char *conf, struct sdm_userdata *u) {
                ptr += strlen(CTDLSIEVECONFIGSEPARATOR);
 
                extract_token(keyword, c, 0, '|', sizeof keyword);
-               lprintf(CTDL_DEBUG, "CONFIG: <%s>\n", keyword);
 
                if (!strcasecmp(keyword, "lastproc")) {
                        u->lastproc = extract_long(c, 1);
@@ -451,7 +442,6 @@ void parse_sieve_config(char *conf, struct sdm_userdata *u) {
 
                /* ignore unknown keywords */
        }
-       lprintf(CTDL_DEBUG, "done parsing config\n");
 }
 
 /*