Mercurial > dovecot > core-2.2
view src/imap/cmd-capability.c @ 22638:7d5634889da8
lib: net_ip2addr() - Optimize by allocating destination memory immediately
It doesn't really matter if we allocate a few extra bytes.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 04 Nov 2017 01:42:37 +0200 |
parents | 2e2563132d5f |
children | cb108f786fb4 |
line wrap: on
line source
/* Copyright (c) 2002-2017 Dovecot authors, see the included COPYING file */ #include "imap-common.h" #include "imap-commands.h" #include "str.h" bool cmd_capability(struct client_command_context *cmd) { client_send_line(cmd->client, t_strconcat( "* CAPABILITY ", str_c(cmd->client->capability_string), NULL)); client_send_tagline(cmd, "OK Capability completed."); return TRUE; }