/[mailutils]/mailutils/pop3d/pop3d.c
ViewVC logotype

Diff of /mailutils/pop3d/pop3d.c

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

revision 1.66 by alainm, Sat Oct 18 02:38:22 2003 UTC revision 1.67 by gray, Sat Oct 18 19:08:33 2003 UTC
# Line 74  static struct argp_option options[] = { Line 74  static struct argp_option options[] = {
74     N_("Name of login statistics file"), 0},     N_("Name of login statistics file"), 0},
75  #endif  #endif
76    {"expire", OPT_EXPIRE, N_("DAYS"), 0,    {"expire", OPT_EXPIRE, N_("DAYS"), 0,
77     N_("Minimum advertise retention days of messages, default -1 means NEVER"), 0},     N_("Minimum retention period for messages in the maildrop, default -1 means NEVER"), 0},
78    {NULL, 0, NULL, 0, NULL, 0}    {NULL, 0, NULL, 0, NULL, 0}
79  };  };
80    
# Line 120  pop3d_parse_opt (int key, char *arg, str Line 120  pop3d_parse_opt (int key, char *arg, str
120        login_delay = strtoul (arg, &p, 10);        login_delay = strtoul (arg, &p, 10);
121        if (*p)        if (*p)
122          {          {
123            argp_error (state, _("Invalid number"));            argp_error (astate, _("Invalid number"));
124            exit (1);            exit (1);
125          }          }
126        break;        break;
# Line 130  pop3d_parse_opt (int key, char *arg, str Line 130  pop3d_parse_opt (int key, char *arg, str
130        break;        break;
131  #endif    #endif  
132    
133      case OPT_STAT_FILE:      case OPT_EXPIRE:
134        expire = strtoul (arg, &p, 10);        expire = strtoul (arg, &p, 10);
135          if (*p)
136            {
137              argp_error (astate, _("Invalid number"));
138              exit (1);
139            }
140        break;        break;
141                
142      default:      default:

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26