comparison src/conf.c @ 190:6b4a101a2455

forgot to remove the pop3_login option in conf.c in the last commit
author meillo@marmaro.de
date Thu, 15 Jul 2010 11:15:25 +0200
parents 91f8ee6514f5
children 89f951be358f
comparison
equal deleted inserted replaced
189:dc89737b27aa 190:6b4a101a2455
755 || (strcmp(lval, "auth_login") == 0) 755 || (strcmp(lval, "auth_login") == 0)
756 || (strcmp(lval, "auth_secret") == 0)) { 756 || (strcmp(lval, "auth_secret") == 0)) {
757 logwrite(LOG_WARNING, "%s ignored: not compiled with auth support.\n", lval); 757 logwrite(LOG_WARNING, "%s ignored: not compiled with auth support.\n", lval);
758 } 758 }
759 #endif 759 #endif
760 else if (strcmp(lval, "pop3_login") == 0) { 760 else if (strcmp(lval, "pipe") == 0) {
761 #ifdef ENABLE_POP3
762 route->pop3_login = g_strdup(rval);
763 #else
764 logwrite(LOG_WARNING, "pop3_login ignored: not compiled with pop support.\n");
765 #endif
766 } else if (strcmp(lval, "pipe") == 0) {
767 route->pipe = g_strdup(rval); 761 route->pipe = g_strdup(rval);
768 } else if (strcmp(lval, "pipe_fromline") == 0) { 762 } else if (strcmp(lval, "pipe_fromline") == 0) {
769 route->pipe_fromline = parse_boolean(rval); 763 route->pipe_fromline = parse_boolean(rval);
770 } else if (strcmp(lval, "pipe_fromhack") == 0) { 764 } else if (strcmp(lval, "pipe_fromhack") == 0) {
771 route->pipe_fromhack = parse_boolean(rval); 765 route->pipe_fromhack = parse_boolean(rval);
854 g_free(r->auth_name); 848 g_free(r->auth_name);
855 if (r->auth_login) 849 if (r->auth_login)
856 g_free(r->auth_login); 850 g_free(r->auth_login);
857 if (r->auth_secret) 851 if (r->auth_secret)
858 g_free(r->auth_secret); 852 g_free(r->auth_secret);
859 #endif
860 #ifdef ENABLE_POP3
861 if (r->pop3_login)
862 g_free(r->pop3_login);
863 #endif 853 #endif
864 if (r->pipe) 854 if (r->pipe)
865 g_free(r->pipe); 855 g_free(r->pipe);
866 g_free(r); 856 g_free(r);
867 } 857 }