Blame view

imap4d/noop.c 1.07 KB
1
/* GNU Mailutils -- a suite of utilities for electronic mail
2
   Copyright (C) 1999, 2001 Free Software Foundation, Inc.
3

4
   GNU Mailutils is free software; you can redistribute it and/or modify
5 6 7 8
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

9
   GNU Mailutils is distributed in the hope that it will be useful,
10 11 12 13 14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
15
   along with GNU Mailutils; if not, write to the Free Software
Wojciech Polak authored
16
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA  */
17 18 19 20

#include "imap4d.h"

int
21
imap4d_noop (struct imap4d_command *command, char *arg)
22
{
23
  char *sp = NULL;
24

25 26
  if (util_getword (arg, &sp))
    return util_finish (command, RESP_BAD, "Too many args");
27 28

  imap4d_sync ();
29
  return util_finish (command, RESP_OK, "Completed");
30
}