/[pkg-mixmaster]/trunk/Mix/Src/mail.c
ViewVC logotype

Diff of /trunk/Mix/Src/mail.c

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

revision 172 by weaselp, Wed Aug 7 17:27:01 2002 UTC revision 173 by weaselp, Thu Aug 22 22:23:16 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Socket-based mail transport services     Socket-based mail transport services
9     $Id: mail.c,v 1.7 2002/08/07 17:27:01 weaselp Exp $ */     $Id: mail.c,v 1.8 2002/08/22 22:23:16 weaselp Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 670  void pop3get(void) Line 670  void pop3get(void)
670    f = mix_openfile(POP3CONF, "r");    f = mix_openfile(POP3CONF, "r");
671    if (f != NULL)    if (f != NULL)
672      while (fgets(cfg, sizeof(cfg), f) != NULL) {      while (fgets(cfg, sizeof(cfg), f) != NULL) {
673          if (cfg[0] == '#')
674            continue;
675        if (strchr(cfg, '@'))        if (strchr(cfg, '@'))
676          strchr(cfg, '@')[0] = ' ';          strchr(cfg, '@')[0] = ' ';
677        if (sscanf(cfg, "%127s %127s %127s %4s", user, host, pass, auth) < 3)        if (sscanf(cfg, "%127s %127s %127s %4s", user, host, pass, auth) < 3)

Legend:
Removed from v.172  
changed lines
  Added in v.173

  ViewVC Help
Powered by ViewVC 1.1.5