/[imapfilter]/imapfilter/imapfilter.c
ViewVC logotype

Diff of /imapfilter/imapfilter.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by lefcha, Mon Oct 8 08:52:49 2001 UTC revision 1.16 by lefcha, Wed Oct 17 14:06:20 2001 UTC
# Line 1  Line 1 
1  #include <stdio.h>  #include <stdio.h>
2    #include <stdlib.h>
3  #include <unistd.h>  #include <unistd.h>
4  #include <string.h>  #include <string.h>
5  #include <limits.h>  #include <limits.h>
# Line 19  char logfile[PATH_MAX];                /* Log file. */ Line 20  char logfile[PATH_MAX];                /* Log file. */
20  /*  /*
21   * In the beginning there was main()...   * In the beginning there was main()...
22   */   */
23  int main(int argc, char **argv)  int main(int argc, char *argv[])
24  {  {
25      int c;      int c;
26      char *confile = NULL;       /* Configuration file. */      char *confile = NULL;       /* Configuration file. */
# Line 61  int main(int argc, char **argv) Line 62  int main(int argc, char **argv)
62    
63      for (ca = accounts; ca; ca = ca->next) {      for (ca = accounts; ca; ca = ca->next) {
64    
65    #ifndef SSL_TLS
66          if (init_connection(ca->server, ca->port)) {          if (init_connection(ca->server, ca->port)) {
67    #else
68            if (init_connection(ca->server, ca->port, ca->ssl)) {
69    #endif
70              close_logfile();              close_logfile();
71              exit(ERROR_NETWORK);              exit(ERROR_NETWORK);
72          }          }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26