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

Diff of /mailutils/pop3d/retr.c

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

revision 1.11 by alainm, Wed May 2 04:45:12 2001 UTC revision 1.12 by gray, Fri Jul 26 11:22:02 2002 UTC
# Line 46  pop3d_retr (const char *arg) Line 46  pop3d_retr (const char *arg)
46      return ERR_MESG_DELE;      return ERR_MESG_DELE;
47    
48    message_get_stream (msg, &stream);    message_get_stream (msg, &stream);
49    fprintf (ofile, "+OK\r\n");    pop3d_outf ("+OK\r\n");
50    
51    off = n = 0;    off = n = 0;
52    buf = malloc (buflen * sizeof (*buf));    buf = malloc (buflen * sizeof (*buf));
# Line 68  pop3d_retr (const char *arg) Line 68  pop3d_retr (const char *arg)
68            continue;            continue;
69          }          }
70        if (buf[0] == '.')        if (buf[0] == '.')
71          fprintf (ofile, ".%s\r\n", buf);          pop3d_outf (".%s\r\n", buf);
72        else        else
73          fprintf (ofile, "%s\r\n", buf);          pop3d_outf ("%s\r\n", buf);
74        off += n;        off += n;
75      }      }
76    
# Line 78  pop3d_retr (const char *arg) Line 78  pop3d_retr (const char *arg)
78      attribute_set_read (attr);      attribute_set_read (attr);
79    
80    free (buf);    free (buf);
81    fprintf (ofile, ".\r\n");    pop3d_outf (".\r\n");
82    
83    return OK;    return OK;
84  }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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