/[mailutils]/mailutils/imap4d/logout.c
ViewVC logotype

Diff of /mailutils/imap4d/logout.c

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

revision 1.12 by gray, Fri Jul 6 12:35:36 2001 UTC revision 1.13 by gray, Mon Aug 5 08:19:00 2002 UTC
# Line 25  int Line 25  int
25  imap4d_logout (struct imap4d_command *command, char *arg)  imap4d_logout (struct imap4d_command *command, char *arg)
26  {  {
27    char *sp = NULL;    char *sp = NULL;
   if (! (command->states & state))  
     return util_finish (command, RESP_BAD, "Wrong state");  
28    if (util_getword (arg, &sp))    if (util_getword (arg, &sp))
29      return util_finish (command, RESP_BAD, "Too many args");      return util_finish (command, RESP_BAD, "Too many args");
30    imap4d_bye0 (OK, command);    imap4d_bye0 (OK, command);

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

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