view src/imap/cmd-capability.c @ 9359:6debbb31df39 HEAD

lib-index: Minor code cleanup.
author Timo Sirainen <tss@iki.fi>
date Sun, 06 Sep 2009 19:06:52 -0400
parents b9faf4db2a9f
children 00cd9aacd03c
line wrap: on
line source

/* Copyright (c) 2002-2009 Dovecot authors, see the included COPYING file */

#include "common.h"
#include "commands.h"
#include "str.h"

bool cmd_capability(struct client_command_context *cmd)
{
	client_send_line(cmd->client,
			 t_strconcat("* CAPABILITY ",
				     str_c(capability_string), NULL));

	client_send_tagline(cmd, "OK Capability completed.");
	return TRUE;
}