Commit 8bfddcab 8bfddcab92dc5b6af31ebc016b2014c1d9aa4f07 by Sergey Poznyakoff

(pop3d_parse_opt) --expire=0 implies --delete-expired.

1 parent d6080cfd
...@@ -173,6 +173,8 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate) ...@@ -173,6 +173,8 @@ pop3d_parse_opt (int key, char *arg, struct argp_state *astate)
173 argp_error (astate, _("Invalid number")); 173 argp_error (astate, _("Invalid number"));
174 exit (1); 174 exit (1);
175 } 175 }
176 if (expire == 0)
177 expire_on_exit = 1;
176 break; 178 break;
177 179
178 case OPT_EXPIRE_ON_EXIT: 180 case OPT_EXPIRE_ON_EXIT:
......