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

Diff of /mailutils/pop3d/user.c

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

revision 1.25 by gray, Wed Feb 27 11:54:47 2002 UTC revision 1.26 by gray, Fri Jul 26 11:23:04 2002 UTC
# Line 97  pop3d_user (const char *arg) Line 97  pop3d_user (const char *arg)
97    if ((strlen (arg) == 0) || (strchr (arg, ' ') != NULL))    if ((strlen (arg) == 0) || (strchr (arg, ' ') != NULL))
98      return ERR_BAD_ARGS;      return ERR_BAD_ARGS;
99    
100    fprintf (ofile, "+OK\r\n");    pop3d_outf ("+OK\r\n");
101    fflush (ofile);    fflush (ofile);
102    
103    buf = pop3d_readline (ifile);    buf = pop3d_readline (ifile);
# Line 182  pop3d_user (const char *arg) Line 182  pop3d_user (const char *arg)
182          pamerror = pam_acct_mgmt (pamh, 0);          pamerror = pam_acct_mgmt (pamh, 0);
183          PAM_ERROR;          PAM_ERROR;
184          pamerror = pam_setcred (pamh, PAM_ESTABLISH_CRED);          pamerror = pam_setcred (pamh, PAM_ESTABLISH_CRED);
         PAM_ERROR;  
185        pam_errlab:        pam_errlab:
186          pam_end (pamh, PAM_SUCCESS);          pam_end (pamh, PAM_SUCCESS);
187          openlog ("gnu-pop3d", LOG_PID, log_facility);          openlog ("gnu-pop3d", LOG_PID, log_facility);
# Line 250  pop3d_user (const char *arg) Line 249  pop3d_user (const char *arg)
249          pop3d_abquit (ERR_NO_MEM);          pop3d_abquit (ERR_NO_MEM);
250        state = TRANSACTION;        state = TRANSACTION;
251    
252        fprintf (ofile, "+OK opened mailbox for %s\r\n", username);        pop3d_outf ("+OK opened mailbox for %s\r\n", username);
253    
254        /* mailbox name */        /* mailbox name */
255        {        {

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

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