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

Diff of /mailutils/pop3d/capa.c

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

revision 1.5 by alainm, Wed May 2 04:45:12 2001 UTC revision 1.6 by gray, Fri Jul 26 11:22:02 2002 UTC
# Line 35  pop3d_capa (const char *arg) Line 35  pop3d_capa (const char *arg)
35    if (state != AUTHORIZATION && state != TRANSACTION)    if (state != AUTHORIZATION && state != TRANSACTION)
36      return ERR_WRONG_STATE;      return ERR_WRONG_STATE;
37    
38    fprintf (ofile, "+OK Capability list follows\r\n");    pop3d_outf ("+OK Capability list follows\r\n");
39    fprintf (ofile, "TOP\r\n");    pop3d_outf ("TOP\r\n");
40    fprintf (ofile, "USER\r\n");    pop3d_outf ("USER\r\n");
41    fprintf (ofile, "UIDL\r\n");    pop3d_outf ("UIDL\r\n");
42    fprintf (ofile, "RESP-CODES\r\n");    pop3d_outf ("RESP-CODES\r\n");
43    fprintf (ofile, "PIPELINING\r\n");    pop3d_outf ("PIPELINING\r\n");
44    /* FIXME: This can be Implemented by setting an header field on the    /* FIXME: This can be Implemented by setting an header field on the
45       message.  */       message.  */
46    /*fprintf (ofile, "EXPIRE NEVER\r\n"); */    /*pop3d_outf ("EXPIRE NEVER\r\n"); */
47    if (state == TRANSACTION)     /* let's not advertise to just anyone */    if (state == TRANSACTION)     /* let's not advertise to just anyone */
48      fprintf (ofile, "IMPLEMENTATION %s %s\r\n", IMPL, VERSION);      pop3d_outf ("IMPLEMENTATION %s %s\r\n", IMPL, VERSION);
49    fprintf (ofile, ".\r\n");    pop3d_outf (".\r\n");
50    return OK;    return OK;
51  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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