Code cleanup
This commit is contained in:
parent
cec73d27cc
commit
46d3091ef9
|
@ -350,7 +350,7 @@ static int _parse_context(AccountPlugin * plugin, char const * answer);
|
||||||
static int _context_fetch(AccountPlugin * plugin, char const * answer);
|
static int _context_fetch(AccountPlugin * plugin, char const * answer);
|
||||||
static int _context_init(AccountPlugin * plugin);
|
static int _context_init(AccountPlugin * plugin);
|
||||||
static int _context_list(AccountPlugin * plugin, char const * answer);
|
static int _context_list(AccountPlugin * plugin, char const * answer);
|
||||||
static int _context_select(AccountPlugin * plugin, char const * answer);
|
static int _context_select(AccountPlugin * plugin);
|
||||||
static int _context_status(AccountPlugin * plugin, char const * answer);
|
static int _context_status(AccountPlugin * plugin, char const * answer);
|
||||||
|
|
||||||
static int _imap4_parse(AccountPlugin * plugin)
|
static int _imap4_parse(AccountPlugin * plugin)
|
||||||
|
@ -443,7 +443,7 @@ static int _parse_context(AccountPlugin * plugin, char const * answer)
|
||||||
cmd->status = I4CS_OK;
|
cmd->status = I4CS_OK;
|
||||||
return 0;
|
return 0;
|
||||||
case I4C_SELECT:
|
case I4C_SELECT:
|
||||||
return _context_select(plugin, answer);
|
return _context_select(plugin);
|
||||||
case I4C_STATUS:
|
case I4C_STATUS:
|
||||||
return _context_status(plugin, answer);
|
return _context_status(plugin, answer);
|
||||||
}
|
}
|
||||||
|
@ -598,7 +598,7 @@ static int _context_list(AccountPlugin * plugin, char const * answer)
|
||||||
return (cmd != NULL) ? 0 : -1;
|
return (cmd != NULL) ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _context_select(AccountPlugin * plugin, char const * answer)
|
static int _context_select(AccountPlugin * plugin)
|
||||||
{
|
{
|
||||||
IMAP4 * imap4 = plugin->priv;
|
IMAP4 * imap4 = plugin->priv;
|
||||||
IMAP4Command * cmd = &imap4->queue[0];
|
IMAP4Command * cmd = &imap4->queue[0];
|
||||||
|
@ -631,7 +631,6 @@ static int _context_status(AccountPlugin * plugin, char const * answer)
|
||||||
{
|
{
|
||||||
IMAP4 * imap4 = plugin->priv;
|
IMAP4 * imap4 = plugin->priv;
|
||||||
IMAP4Command * cmd = &imap4->queue[0];
|
IMAP4Command * cmd = &imap4->queue[0];
|
||||||
AccountFolder * folder = cmd->data.select.folder;
|
|
||||||
char const * p;
|
char const * p;
|
||||||
unsigned int m;
|
unsigned int m;
|
||||||
unsigned int r;
|
unsigned int r;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user